Commit dfc16b08 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

Fix dumbass problem with A_RadiusDamage()

From-SVN: r8090
parent 0a626be7
......@@ -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);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment