- Timestamp:
- Jan 10, 2016, 1:54:11 PM (9 years ago)
- Location:
- code/branches/cpp11_v3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3
- Property svn:mergeinfo changed
-
code/branches/cpp11_v3/src/modules/weapons/IceGunFreezer.cc
r11052 r11054 101 101 102 102 // Check if the freezer is attached to a parent and check if the parent is a SpaceShip 103 if (parent != NULL&& parent->isA(Class(SpaceShip)))103 if (parent != nullptr && parent->isA(Class(SpaceShip))) 104 104 { 105 105 freezedSpaceShip_ = orxonox_cast<SpaceShip*>(parent); … … 118 118 void IceGunFreezer::stopFreezing() 119 119 { 120 if (freezedSpaceShip_ != NULL&& freezeFactor_ != 0.0)120 if (freezedSpaceShip_ != nullptr && freezeFactor_ != 0.0) 121 121 { 122 122 freezedSpaceShip_->addSpeedFactor(1/freezeFactor_);
Note: See TracChangeset
for help on using the changeset viewer.