Changeset 9643 in orxonox.OLD for branches/proxy/src/world_entities/space_ships
- Timestamp:
- Jul 31, 2006, 11:03:04 AM (19 years ago)
- Location:
- branches/proxy/src/world_entities/space_ships
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/world_entities/space_ships/turbine_hover.cc
r9507 r9643 91 91 92 92 this->loadModel("models/ships/hoverglider_mainbody.obj"); 93 93 94 } 94 95 … … 222 223 registerVar( new SynchronizeableFloat( &cameraLook, &cameraLook, "cameraLook", PERMISSION_OWNER ) ); 223 224 registerVar( new SynchronizeableFloat( &rotation, &rotation, "rotation", PERMISSION_OWNER ) ); 225 226 if( State::isOnline()) 227 toList( OM_PLAYERS ); 224 228 } 225 229 … … 552 556 } 553 557 } 558 559 560 /** 561 * respawning function called by the GameRules 562 */ 563 void TurbineHover::respawn( ) 564 { 565 if( State::isOnline()) 566 toList( OM_PLAYERS ); 567 568 // this->damageTicker = 0.0f; 569 570 Playable::respawn(); 571 } -
branches/proxy/src/world_entities/space_ships/turbine_hover.h
r9500 r9643 34 34 virtual void postSpawn(); 35 35 virtual void leftWorld(); 36 virtual void respawn(); 36 37 37 38 virtual void collidesWith(WorldEntity* entity, const Vector& location);
Note: See TracChangeset
for help on using the changeset viewer.