- 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 #266
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) if (sc->extra == 0)
{ {
lp += s->zvel; *lp += s->zvel;
if (abs(*lp - s->z) < 1024) if (abs(*lp - s->z) < 1024)
{ {