mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Relax SKIPWALLCHECK enforcement with SHRINKSPARK projectile in Duke3D
git-svn-id: https://svn.eduke32.com/eduke32@8086 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ad4afc2020
commit
f144f1a0bc
1 changed files with 1 additions and 2 deletions
|
@ -255,7 +255,7 @@ void A_RadiusDamage(int const spriteNum, int const blastRadius, int const dmg1,
|
|||
bfirst_search_init(sectorList, sectorMap, &numSectors, MAXSECTORS, pSprite->sectnum);
|
||||
|
||||
#ifndef EDUKE32_STANDALONE
|
||||
if (!FURY && ((pSprite->picnum == RPG && pSprite->xrepeat < 11) || pSprite->picnum == SHRINKSPARK))
|
||||
if (!FURY && (pSprite->picnum == RPG && pSprite->xrepeat < 11))
|
||||
goto SKIPWALLCHECK;
|
||||
#endif
|
||||
|
||||
|
@ -303,7 +303,6 @@ void A_RadiusDamage(int const spriteNum, int const blastRadius, int const dmg1,
|
|||
}
|
||||
|
||||
SKIPWALLCHECK:
|
||||
// this is really weird
|
||||
int const randomZOffset = -ZOFFSET2 + (krand()&(ZOFFSET5-1));
|
||||
|
||||
for (int sectorCount=0; sectorCount < numSectors; ++sectorCount)
|
||||
|
|
Loading…
Reference in a new issue