Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 14, 2011, 11:14:46 PM (13 years ago)
Author:
landauf
Message:

implemented instant reloading of rocket munition because this was a little bothersome with 'T' key which is not OnHold but OnPress.
not exactly sure why I originally put the condition there in Munition.cc, but it looks wrong, so I removed it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/weaponsystem/Munition.cc

    r7847 r7895  
    459459        this->bLoaded_ = false;
    460460
    461         if (bUseReloadTime && (munition->reloadTime_ > 0 || munition->bStackMunition_))
     461        if (bUseReloadTime && munition->reloadTime_ > 0)
    462462        {
    463463            const ExecutorPtr& executor = createExecutor(createFunctor(&Magazine::loaded, this));
Note: See TracChangeset for help on using the changeset viewer.