Changeset 12411 for code/branches/Presentation_FS19/src/modules/weapons
- Timestamp:
- May 22, 2019, 2:59:08 PM (6 years ago)
- Location:
- code/branches/Presentation_FS19
- Files:
-
- 4 edited
- 6 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_FS19
- Property svn:mergeinfo changed
-
code/branches/Presentation_FS19/src/modules/weapons/munitions/CMakeLists.txt
r11108 r12411 9 9 SplitMunition.cc 10 10 MineMunition.cc 11 BallMunition.cc 11 12 ) -
code/branches/Presentation_FS19/src/modules/weapons/projectiles/BasicProjectile.cc
r11108 r12411 172 172 void BasicProjectile::destroyCheck(void) 173 173 { 174 if(GameMode::isMaster() && this->bDestroy_) 174 if(GameMode::isMaster() && this->bDestroy_) { 175 175 this->destroy(); 176 } 176 177 } 177 178 … … 182 183 void BasicProjectile::destroyObject(void) 183 184 { 184 if(GameMode::isMaster()) 185 if(GameMode::isMaster()) { 185 186 this->destroy(); 187 } 186 188 } 187 189 } -
code/branches/Presentation_FS19/src/modules/weapons/projectiles/BasicProjectile.h
r11108 r12411 117 117 118 118 protected: 119 bool processCollision(WorldEntity* otherObject, btManifoldPoint& contactPoint, const btCollisionShape* cs);119 virtual bool processCollision(WorldEntity* otherObject, btManifoldPoint& contactPoint, const btCollisionShape* cs); 120 120 void destroyCheck(void); 121 121 inline void setDestroyAfterCollision(bool destroyAfterCollision)
Note: See TracChangeset
for help on using the changeset viewer.