0
0
Fork 0
mirror of https://github.com/ZDoom/raze-gles.git synced 2025-04-26 00:40:55 +00:00

- fixed SE21 handler.

This one is most prominently noticeable in WW2GI's first map where blowing up a crack has no effect.
This must have happened when removing all those dangerous pointer to long casts that were so popular back in the bad old days.
Fixes 
This commit is contained in:
Christoph Oelckers 2021-02-26 13:14:44 +01:00
parent 99f1f0952a
commit a46792e519

View file

@ -4349,7 +4349,7 @@ void handle_se21(DDukeActor* actor)
if (sc->extra == 0)
{
lp += s->zvel;
*lp += s->zvel;
if (abs(*lp - s->z) < 1024)
{