Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 4, 2014, 3:51:36 PM (11 years ago)
Author:
landauf
Message:

docking should take actual control, not just temporary.
this also fixes a problem with the boost-shader (after docking, the shader didn't work for the new ship + the game crashed if the new ship died)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/docking/DockToShip.cc

    r9667 r9974  
    8585        // Make sure target isn't removed when undocking
    8686        dockTo->setDestroyWhenPlayerLeft(false);
    87         player->startTemporaryControl(dockTo);
     87        player->startControl(dockTo);
    8888
    8989        return true;
Note: See TracChangeset for help on using the changeset viewer.