mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
Fix dumbass problem with A_RadiusDamage()
git-svn-id: https://svn.eduke32.com/eduke32@8090 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8aa8b7bef6
commit
e3f1399484
1 changed files with 3 additions and 2 deletions
|
@ -299,10 +299,11 @@ void A_RadiusDamage(int const spriteNum, int const blastRadius, int const dmg1,
|
|||
{
|
||||
A_DamageWall_Internal(spriteNum, w, vect, pSprite->picnum);
|
||||
|
||||
if (nextSector >= 0)
|
||||
bfirst_search_try(sectorList, sectorMap, &numSectors, nextSector);
|
||||
|
||||
if (numSectors == MAXDAMAGESECTORS)
|
||||
goto SKIPWALLCHECK;
|
||||
|
||||
bfirst_search_try(sectorList, sectorMap, &numSectors, damageSector);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue