From 930a78f7b256acc0ccc6a33ed9596ad6d55f966d Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Mon, 19 Sep 2022 20:26:55 +1000 Subject: [PATCH] - Use `REPEAT_SCALE` in a few more places. --- source/games/sw/src/game.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/sw/src/game.h b/source/games/sw/src/game.h index c930bbdd5..fb256423d 100644 --- a/source/games/sw/src/game.h +++ b/source/games/sw/src/game.h @@ -2013,7 +2013,7 @@ inline DVector3 ActorVectOfMiddle(DSWActor* actor) inline double ActorSizeZ(DSWActor* actor) { - return (tileHeight(actor->spr.picnum) * actor->spr.yrepeat) / 64.; + return (tileHeight(actor->spr.picnum) * actor->spr.yrepeat) * REPEAT_SCALE; } inline double ActorUpperZ(DSWActor* actor)