Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6568 in orxonox.OLD for trunk/src/world_entities/playable.cc


Ignore:
Timestamp:
Jan 18, 2006, 3:21:47 PM (18 years ago)
Author:
bensch
Message:

trunk: weaponManager is now reporting the change of Weapons to the (if a ) Playable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/playable.cc

    r6547 r6568  
    5555
    5656  if (this->currentPlayer != NULL)
    57     this->currentPlayer->weaponConfigChanged();
     57    this->weaponConfigChanged();
    5858}
    5959
     
    6363
    6464  if (this->currentPlayer != NULL)
    65     this->currentPlayer->weaponConfigChanged();
     65    this->weaponConfigChanged();
    6666}
    6767
     
    7070  this->weaponMan->nextWeaponConfig();
    7171  if (this->currentPlayer != NULL)
    72     this->currentPlayer->weaponConfigChanged();
     72    this->weaponConfigChanged();
    7373}
    7474
     
    7777  this->weaponMan->previousWeaponConfig();
    7878  if (this->currentPlayer != NULL)
    79     this->currentPlayer->weaponConfigChanged();
    80 }
    81 
     79    this->weaponConfigChanged();
     80}
     81
     82void Playable::weaponConfigChanged()
     83{
     84  this->currentPlayer->weaponConfigChanged();
     85}
    8286
    8387/**
Note: See TracChangeset for help on using the changeset viewer.