mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
my tree of souls is melting
git-svn-id: https://svn.eduke32.com/eduke32@167 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
cc750739ca
commit
ac622add66
1 changed files with 7 additions and 2 deletions
|
@ -4955,12 +4955,13 @@ SHOOTINCODE:
|
||||||
}
|
}
|
||||||
else *kb = 0;
|
else *kb = 0;
|
||||||
}
|
}
|
||||||
else if( aplWeaponFlags[p->curr_weapon][snum] & WEAPON_FLAG_RESET)
|
else *kb = 0;
|
||||||
|
|
||||||
|
if( aplWeaponFlags[p->curr_weapon][snum] & WEAPON_FLAG_RESET)
|
||||||
{
|
{
|
||||||
if( sb_snum&(1<<2) ) *kb = 1;
|
if( sb_snum&(1<<2) ) *kb = 1;
|
||||||
else *kb = 0;
|
else *kb = 0;
|
||||||
}
|
}
|
||||||
else *kb = 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ( *kb >= aplWeaponFireDelay[p->curr_weapon][snum] && (*kb) < aplWeaponTotalTime[p->curr_weapon][snum]
|
else if ( *kb >= aplWeaponFireDelay[p->curr_weapon][snum] && (*kb) < aplWeaponTotalTime[p->curr_weapon][snum]
|
||||||
|
@ -4968,6 +4969,10 @@ SHOOTINCODE:
|
||||||
{
|
{
|
||||||
if ( aplWeaponFlags[p->curr_weapon][snum] & WEAPON_FLAG_AUTOMATIC)
|
if ( aplWeaponFlags[p->curr_weapon][snum] & WEAPON_FLAG_AUTOMATIC)
|
||||||
{
|
{
|
||||||
|
if(( sb_snum&(1<<2) ) == 0 )
|
||||||
|
{
|
||||||
|
*kb = 0;
|
||||||
|
}
|
||||||
if ( aplWeaponFlags[p->curr_weapon][snum] & WEAPON_FLAG_FIREEVERYTHIRD)
|
if ( aplWeaponFlags[p->curr_weapon][snum] & WEAPON_FLAG_FIREEVERYTHIRD)
|
||||||
{
|
{
|
||||||
if( ((*(kb))%3) == 0 )
|
if( ((*(kb))%3) == 0 )
|
||||||
|
|
Loading…
Reference in a new issue