Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 31, 2006, 11:03:04 AM (18 years ago)
Author:
patrick
Message:

localhost now gets its own ip, hoover is added to the correct team

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/world_entities/space_ships/turbine_hover.cc

    r9507 r9643  
    9191
    9292  this->loadModel("models/ships/hoverglider_mainbody.obj");
     93
    9394}
    9495
     
    222223  registerVar( new SynchronizeableFloat( &cameraLook, &cameraLook, "cameraLook", PERMISSION_OWNER ) );
    223224  registerVar( new SynchronizeableFloat( &rotation, &rotation, "rotation", PERMISSION_OWNER ) );
     225
     226  if( State::isOnline())
     227    toList( OM_PLAYERS );
    224228}
    225229
     
    552556  }
    553557}
     558
     559
     560/**
     561 *  respawning function called by the GameRules
     562 */
     563void TurbineHover::respawn( )
     564{
     565  if( State::isOnline())
     566    toList( OM_PLAYERS );
     567
     568//   this->damageTicker = 0.0f;
     569
     570  Playable::respawn();
     571}
Note: See TracChangeset for help on using the changeset viewer.