- Use REPEAT_SCALE in a few more places.

This commit is contained in:
Mitchell Richters 2022-09-19 20:26:55 +10:00 committed by Christoph Oelckers
parent 8a40fbb020
commit 930a78f7b2

View file

@ -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)