- one assignment

This commit is contained in:
Christoph Oelckers 2022-08-20 17:55:03 +02:00
parent c0c74fca84
commit 4a6f9f316a

View file

@ -16957,7 +16957,7 @@ bool SpriteWarpToSurface(DSWActor* actor)
ChangeActorSect(actor, over);
}
actor->set_int_z(overActor->sector()->int_floorz() - Z(2));
actor->spr.pos.Z = overActor->sector()->floorz - 2;
// set z range and wade depth so we know how high to set view
DoActorZrange(actor);