mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Tiny little fix to weapon switching behavior
git-svn-id: https://svn.eduke32.com/eduke32@65 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
de75701da5
commit
736c6abd8d
1 changed files with 2 additions and 1 deletions
|
@ -4523,7 +4523,8 @@ DETONATEB:
|
|||
if( ps[p].gotweapon[HANDBOMB_WEAPON] == 0 || s->owner == ps[p].i )
|
||||
{
|
||||
/* addweapon(&ps[p],HANDBOMB_WEAPON); */
|
||||
if (!(ps[p].weaponswitch & 1)) addweaponnoswitch(&ps[p],HANDBOMB_WEAPON);
|
||||
if (!(ps[p].weaponswitch & 1) && *aplWeaponWorksLike[ps[p].curr_weapon] != HANDREMOTE_WEAPON)
|
||||
addweaponnoswitch(&ps[p],HANDBOMB_WEAPON);
|
||||
else addweapon( &ps[p],HANDBOMB_WEAPON);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue