From fa456f991d73540667d5e7c65437f328230cecc3 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Mon, 8 Aug 2022 07:45:29 +1000 Subject: [PATCH] In classic mode, fix entity positions not being slightly offset into the ground (thanks icanttellyou) --- src/Model.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Model.c b/src/Model.c index 0a6b71c94..4299e7074 100644 --- a/src/Model.c +++ b/src/Model.c @@ -97,6 +97,8 @@ void Model_Render(struct Model* model, struct Entity* e) { struct Matrix m; Vec3 pos = e->Position; if (model->bobbing) pos.Y += e->Anim.BobbingModel; + /* Original classic offsets models slightly into ground */ + if (Game_ClassicMode) pos.Y -= 1.5f / 16.0f; Model_SetupState(model, e); Gfx_SetVertexFormat(VERTEX_FORMAT_TEXTURED);