Changeset 10624 for code/trunk/src/modules/jump/JumpCenterpoint.cc
- Timestamp:
- Oct 4, 2015, 9:12:21 PM (9 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
-
code/trunk/src/modules/jump/JumpCenterpoint.cc
r10262 r10624 80 80 } 81 81 82 void JumpCenterpoint::changedGametype()83 {84 SUPER(JumpCenterpoint, changedGametype);85 86 checkGametype();87 }88 89 82 void JumpCenterpoint::checkGametype() 90 83 { 91 84 if (getGametype() != NULL && this->getGametype()->isA(Class(Jump))) 92 85 { 93 Jump* jumpGametype = orxonox_cast<Jump*>(this->getGametype() .get());86 Jump* jumpGametype = orxonox_cast<Jump*>(this->getGametype()); 94 87 jumpGametype->setCenterpoint(this); 95 88 }
Note: See TracChangeset
for help on using the changeset viewer.