mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 21:20:39 +00:00
- Duke: Fix lotag signedness issue affecting SE10 (door auto-close).
* Originated in 01abe7b2ac
while removing a casting to short.
* Fixes #594.
This commit is contained in:
parent
a8c4d61fab
commit
ee1ffd2347
1 changed files with 1 additions and 1 deletions
|
@ -3586,7 +3586,7 @@ void handle_se10(DDukeActor* actor, const int* specialtags)
|
|||
auto sc = actor->getSector();
|
||||
int sh = s->hitag;
|
||||
|
||||
if ((sc->lotag & 0xff) == 27 || (sc->floorz > sc->ceilingz && (sc->lotag & 0xff) != 23) || sc->lotag == 65536 - 32791)
|
||||
if ((sc->lotag & 0xff) == 27 || (sc->floorz > sc->ceilingz && (sc->lotag & 0xff) != 23) || sc->lotag == 32791 - 65536)
|
||||
{
|
||||
int j = 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue