mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-27 06:54:23 -04:00
Keep next/prev weapon state synchronized with manual weapon switch (#2042)
This commit is contained in:
parent
54068a57b0
commit
2809231f00
@ -500,7 +500,7 @@ void P_PlayerThink (player_t* player)
|
|||||||
|
|
||||||
if ((newweapon != wp_plasma && newweapon != wp_bfg)
|
if ((newweapon != wp_plasma && newweapon != wp_bfg)
|
||||||
|| (gamemode != shareware) )
|
|| (gamemode != shareware) )
|
||||||
player->pendingweapon = newweapon;
|
player->nextweapon = player->pendingweapon = newweapon;
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for use
|
// check for use
|
||||||
|
Loading…
x
Reference in New Issue
Block a user