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:
terminx 2006-05-14 09:28:18 +00:00
parent cc750739ca
commit ac622add66
1 changed files with 7 additions and 2 deletions

View File

@ -4955,12 +4955,13 @@ SHOOTINCODE:
}
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;
else *kb = 0;
}
else *kb = 0;
}
}
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(( sb_snum&(1<<2) ) == 0 )
{
*kb = 0;
}
if ( aplWeaponFlags[p->curr_weapon][snum] & WEAPON_FLAG_FIREEVERYTHIRD)
{
if( ((*(kb))%3) == 0 )