Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3654 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc


Ignore:
Timestamp:
Mar 25, 2005, 6:47:26 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: altered the list function to make it more performant the world now uses iterators everywhere.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/player.cc

    r3631 r3654  
    207207      PRINTF(1)("changing the weapon of the player: deactivate old, activate new\n");
    208208      this->activeWeapon->deactivate();
    209       this->weapons->enumerate();
     209      //this->weapons->enumerate();  FIX: strang weapon change...
    210210      this->activeWeapon = this->weapons->nextElement(this->activeWeapon);
    211211      this->activeWeapon->activate();
Note: See TracChangeset for help on using the changeset viewer.