In classic mode, fix entity positions not being slightly offset into the ground (thanks icanttellyou)

This commit is contained in:
UnknownShadow200 2022-08-08 07:45:29 +10:00
parent 59b70501fa
commit fa456f991d

View File

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