mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-09 07:18:34 -04:00
In classic mode, fix entity positions not being slightly offset into the ground (thanks icanttellyou)
This commit is contained in:
parent
59b70501fa
commit
fa456f991d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user