Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 14, 2011, 8:24:00 PM (13 years ago)
Author:
landauf
Message:

hack-fix: overridden implementations of stopLocalHumanControl() were not called in multiplayer, which caused the "fire" command to not reset in Spectator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/worldentities/pawns/Pawn.cc

    r7533 r7889  
    145145    }
    146146
     147    void Pawn::preDestroy()
     148    {
     149        // yay, multiple inheritance!
     150        this->ControllableEntity::preDestroy();
     151        this->PickupCarrier::preDestroy();
     152    }
     153
    147154    void Pawn::setPlayer(PlayerInfo* player)
    148155    {
Note: See TracChangeset for help on using the changeset viewer.