- use setfloorz

This commit is contained in:
Christoph Oelckers 2022-09-04 22:51:39 +02:00
parent e3d2e85760
commit 64e915868e

View file

@ -3355,8 +3355,8 @@ void handle_se05(DDukeActor* actor, int FIRELASER)
}
actor->spr.pos.Z += actor->vel.Z;
sc->ceilingz = actor->vel.Z;
sector[actor->temp_data[0]].ceilingz = actor->vel.Z;
sc->setceilingz(actor->vel.Z);
sector[actor->temp_data[0]].setceilingz(actor->vel.Z);
ms(actor);
//SetActor(actor, actor->spr.pos);
}