Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6918 in orxonox.OLD


Ignore:
Timestamp:
Jan 31, 2006, 10:15:54 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: weapons do disengage if they are empty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/weapon_manager.cc

    r6807 r6918  
    428428        dynamic_cast<Playable*>(this->parent)->weaponConfigChanged();
    429429    }
     430    else if (unlikely(tickWeapon != NULL && tickWeapon->getCurrentState() == WS_DEACTIVATING))
     431      this->currentSlotConfig[i].nextWeapon = NULL;
    430432  }
    431433}
Note: See TracChangeset for help on using the changeset viewer.