mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
More faithful old pushmove implementation
this fixes Daedalus's e3m1 demo
This commit is contained in:
parent
2f4078d99e
commit
dc9b37c847
1 changed files with 1 additions and 1 deletions
|
@ -1663,7 +1663,7 @@ int pushmove(vec3_t *const vect, int16_t *const sectnum,
|
||||||
bad = -1;
|
bad = -1;
|
||||||
k--; if (k <= 0) return bad;
|
k--; if (k <= 0) return bad;
|
||||||
clipupdatesector(vect->vec2, sectnum, walldist);
|
clipupdatesector(vect->vec2, sectnum, walldist);
|
||||||
if (*sectnum < 0) return -1;
|
if (enginecompatibility_mode == ENGINECOMPATIBILITY_NONE && *sectnum < 0) return -1;
|
||||||
}
|
}
|
||||||
else if (bitmap_test(clipsectormap, wal->nextsector) == 0)
|
else if (bitmap_test(clipsectormap, wal->nextsector) == 0)
|
||||||
addclipsect(wal->nextsector);
|
addclipsect(wal->nextsector);
|
||||||
|
|
Loading…
Reference in a new issue