mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +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;
|
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;
|
||||||
|
|
Loading…
Reference in a new issue