- fixed: Switching a weapon did not reset the refire counter.

SVN r1776 (trunk)
This commit is contained in:
Christoph Oelckers 2009-08-29 15:50:03 +00:00
commit 6e3fdbdfc8
3 changed files with 2 additions and 6 deletions

View file

@ -520,6 +520,7 @@ void AWeapon::PostMorphWeapon ()
Owner->player->PendingWeapon = WP_NOCHANGE;
Owner->player->ReadyWeapon = this;
Owner->player->psprites[ps_weapon].sy = WEAPONBOTTOM;
Owner->player->refire = 0;
P_SetPsprite (Owner->player, ps_weapon, GetUpState());
}