Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 5, 2006, 1:24:38 PM (18 years ago)
Author:
patrick
Message:

hyper gate and singleplayer walk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/creatures/fps_player.cc

    r9221 r9222  
    170170  this->damageTicker = 0.0f;
    171171
    172   toList( OM_PLAYERS );
     172//   toList( OM_PLAYERS );
    173173}
    174174
     
    289289
    290290  //dealing damage
    291  
     291
    292292  if ( State::isOnline() && SharedNetworkData::getInstance()->isGameServer() )
    293293  {
    294294    this->damageTicker -= time;
    295  
     295
    296296    if ( this->damageTicker <= 0.0f && this->beFire() )
    297297    {
    298298      this->damageTicker = 0.25;
    299    
     299
    300300      WorldEntity * victim = aimingSystem->getNearestTarget();
    301    
     301
    302302      if ( victim )
    303303      {
     
    486486  if( State::isOnline())
    487487    toList( OM_PLAYERS );
    488  
     488
    489489  this->damageTicker = 0.0f;
    490  
     490
    491491  Playable::respawn();
    492492}
Note: See TracChangeset for help on using the changeset viewer.