mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-24 04:29:34 -04:00
Fix Vanilla Weapon Switch Logic (Example: Dehacked Chainsaw with Ammo) (#605)
This commit is contained in:
parent
2f21b4e7cf
commit
c8f0ea32da
@ -279,6 +279,10 @@ int P_SwitchWeapon(player_t *player)
|
|||||||
if (mbf21)
|
if (mbf21)
|
||||||
return P_SwitchWeaponMBF21(player);
|
return P_SwitchWeaponMBF21(player);
|
||||||
|
|
||||||
|
// Fix weapon switch logic in vanilla (example: chainsaw with ammo)
|
||||||
|
if (demo_compatibility)
|
||||||
|
currentweapon = newweapon = wp_nochange;
|
||||||
|
|
||||||
// killough 2/8/98: follow preferences and fix BFG/SSG bugs
|
// killough 2/8/98: follow preferences and fix BFG/SSG bugs
|
||||||
|
|
||||||
do
|
do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user