Changeset 8909 for code/branches/gamecontent/src/orxonox
- Timestamp:
- Oct 28, 2011, 6:09:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamecontent/src/orxonox/controllers/ArtificialController.cc
r8892 r8909 1110 1110 { 1111 1111 Pawn* pawn = orxonox_cast<Pawn*>(this->getControllableEntity()); 1112 if(pawn )1112 if(pawn && pawn->isA(Class(SpaceShip))) //fix for First Person Mode: check for SpaceShip 1113 1113 { 1114 1114 this->weaponModes_.clear(); // reset previous weapon information
Note: See TracChangeset
for help on using the changeset viewer.