- fixed bad annotation.

This commit is contained in:
Christoph Oelckers 2020-03-05 21:14:45 +01:00
parent a519861571
commit 86278fc79c

View file

@ -1734,8 +1734,8 @@ void useEffectGen(XSPRITE* pXSource, spritetype* pSprite) {
break; break;
case 3: case 3:
case 4: case 4:
// if (!sectRangeIsFine(pSprite->sectnum)) f allthrough__; Code is wrong if (!sectRangeIsFine(pSprite->sectnum)) pos = top;
pos = (pXSource->data4 == 3) ? sector[pSprite->sectnum].floorz : sector[pSprite->sectnum].ceilingz; else pos = (pXSource->data4 == 3) ? sector[pSprite->sectnum].floorz : sector[pSprite->sectnum].ceilingz;
break; break;
default: default:
pos = top; pos = top;