Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 31, 2009, 1:15:52 AM (15 years ago)
Author:
landauf
Message:

some small adjustments in PongAI and related classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/controllers/HumanController.cc

    r2662 r2872  
    3535#include "objects/worldentities/pawns/Pawn.h"
    3636#include "objects/gametypes/Gametype.h"
     37#include "objects/infos/PlayerInfo.h"
    3738
    3839namespace orxonox
     
    157158            if (pawn)
    158159                pawn->kill();
     160            else if (HumanController::localController_s->player_)
     161                HumanController::localController_s->player_->stopControl(HumanController::localController_s->controllableEntity_);
    159162        }
    160163    }
Note: See TracChangeset for help on using the changeset viewer.