- Timestamp:
- May 26, 2016, 4:53:34 PM (8 years ago)
- Location:
- code/branches/presentationFS16
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationFS16
- Property svn:mergeinfo changed
/code/branches/sagerjFS16 (added) merged: 11138,11142,11153,11164,11166,11170,11174-11175,11185,11189,11205
- Property svn:mergeinfo changed
-
code/branches/presentationFS16/src/orxonox/worldentities/ControllableEntity.cc
r11071 r11208 49 49 RegisterClass(ControllableEntity); 50 50 51 registerMemberNetworkFunction( ControllableEntity, fire);51 registerMemberNetworkFunction( ControllableEntity, push ); 52 52 registerMemberNetworkFunction( ControllableEntity, setTargetInternal ); 53 53 … … 299 299 } 300 300 301 void ControllableEntity:: fire(unsigned int firemode)301 void ControllableEntity::push(unsigned int firemode) 302 302 { 303 303 if(GameMode::isMaster()) 304 304 { 305 this-> fired(firemode);305 this->pushed(firemode); 306 306 } 307 307 else 308 308 { 309 callMemberNetworkFunction(&ControllableEntity::fire, this->getObjectID(), 0, firemode); 309 callMemberNetworkFunction(&ControllableEntity::push, this->getObjectID(), 0, firemode); 310 } 311 } 312 313 void ControllableEntity::release(unsigned int firemode) 314 { 315 if(GameMode::isMaster()) 316 { 317 this->released(firemode); 318 } 319 else 320 { 321 callMemberNetworkFunction(&ControllableEntity::release, this->getObjectID(), 0, firemode); 310 322 } 311 323 }
Note: See TracChangeset
for help on using the changeset viewer.