Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 30, 2007, 6:02:18 PM (18 years ago)
Author:
muellmic
Message:

this change lets the weaponConfig change correctly when calling SpacShip::previousWeaponConfig(). though i don't know whether the previous behaviour was intended to be like that. if yes just uncomment it ..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/space_ships/space_ship.cc

    r10508 r10509  
    10861086void SpaceShip::previousWeaponConfig()
    10871087{
     1088  /*
    10881089  this->curWeaponPrimary    = (this->curWeaponPrimary + 1) % 3;
    10891090  this->weaponMan.changeWeaponConfig(this->curWeaponPrimary);
     1091  */
     1092  this->weaponMan.previousWeaponConfig();
    10901093  Playable::weaponConfigChanged();
    10911094}
Note: See TracChangeset for help on using the changeset viewer.