- Timestamp:
- Jun 2, 2010, 12:02:50 AM (14 years ago)
- Location:
- code/branches/presentation3
- Files:
-
- 4 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3
- Property svn:mergeinfo changed
/code/branches/fps (added) merged: 6591,6639,6819-6826,6866-6867,6872,6882-6883,6908,7052-7053,7055,7057,7059,7070
- Property svn:mergeinfo changed
-
code/branches/presentation3/src/orxonox/worldentities/pawns/CMakeLists.txt
r5781 r7073 1 1 ADD_SOURCE_FILES(ORXONOX_SRC_FILES 2 FpsPlayer.cc 2 3 Spectator.cc 3 4 Pawn.cc -
code/branches/presentation3/src/orxonox/worldentities/pawns/FpsPlayer.cc
- Property svn:eol-style set to native
-
code/branches/presentation3/src/orxonox/worldentities/pawns/FpsPlayer.h
- Property svn:eol-style set to native
-
code/branches/presentation3/src/orxonox/worldentities/pawns/Pawn.cc
r7045 r7073 363 363 { 364 364 if (this->weaponSystem_) 365 { 365 366 this->weaponSystem_->addWeaponPack(wPack); 367 this->addedWeaponPack(wPack); 368 } 366 369 } 367 370 … … 369 372 { 370 373 if (this->weaponSystem_) 374 { 371 375 if (!this->weaponSystem_->addWeaponPack(wPack)) 372 376 wPack->destroy(); 377 else 378 this->addedWeaponPack(wPack); 379 } 373 380 } 374 381 -
code/branches/presentation3/src/orxonox/worldentities/pawns/Pawn.h
r6998 r7073 101 101 void addWeaponPackXML(WeaponPack * wPack); 102 102 WeaponPack * getWeaponPack(unsigned int index) const; 103 104 virtual void addedWeaponPack(WeaponPack* wPack) {} 103 105 104 106 inline const WorldEntity* getWorldEntity() const
Note: See TracChangeset
for help on using the changeset viewer.