mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- fixed bad annotation.
This commit is contained in:
parent
a519861571
commit
86278fc79c
1 changed files with 2 additions and 2 deletions
|
@ -1734,8 +1734,8 @@ void useEffectGen(XSPRITE* pXSource, spritetype* pSprite) {
|
|||
break;
|
||||
case 3:
|
||||
case 4:
|
||||
// if (!sectRangeIsFine(pSprite->sectnum)) f allthrough__; Code is wrong
|
||||
pos = (pXSource->data4 == 3) ? sector[pSprite->sectnum].floorz : sector[pSprite->sectnum].ceilingz;
|
||||
if (!sectRangeIsFine(pSprite->sectnum)) pos = top;
|
||||
else pos = (pXSource->data4 == 3) ? sector[pSprite->sectnum].floorz : sector[pSprite->sectnum].ceilingz;
|
||||
break;
|
||||
default:
|
||||
pos = top;
|
||||
|
|
Loading…
Reference in a new issue