Project

General

Profile

« Previous | Next » 

Revision f226a90d

Added by danij over 16 years ago

Fixed (all games): If weapon ammo requirements are edited in values.ded so that all weapons require ammo; When all ammo had been expended P_MaybeChangeWeapon correctly concluded that no change would produce a fire-able weapon and thus player_t->pendingWeapon == WT_NOCHANGE. However, P_CheckAmmo was then changing the psprite to the downstate regardless of the fact that no weapon would subsequently be raised afterwards (leaving the player running around with no weapon in view and no means to change weapon again even after collecting more ammo).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences