diff --git a/src/p_pspr.c b/src/p_pspr.c index 65e8084ef..3af243713 100644 --- a/src/p_pspr.c +++ b/src/p_pspr.c @@ -22,6 +22,7 @@ #include "d_items.h" #include "d_player.h" #include "doomstat.h" +#include "g_nextweapon.h" #include "i_printf.h" #include "i_video.h" // uncapped #include "m_random.h" @@ -266,6 +267,8 @@ int P_SwitchWeapon(player_t *player) int newweapon = currentweapon; int i = NUMWEAPONS+1; // killough 5/2/98 + G_NextWeaponReset(); + // [XA] use fixed behavior for mbf21. no need // for a discrete compat option for this, as // it doesn't impact demo playback (weapon