diff options
Diffstat (limited to 'Minecraft.Client/LeashKnotRenderer.cpp')
| -rw-r--r-- | Minecraft.Client/LeashKnotRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/LeashKnotRenderer.cpp b/Minecraft.Client/LeashKnotRenderer.cpp index b210379f..3c58ce52 100644 --- a/Minecraft.Client/LeashKnotRenderer.cpp +++ b/Minecraft.Client/LeashKnotRenderer.cpp @@ -19,7 +19,7 @@ void LeashKnotRenderer::render(shared_ptr<Entity> entity, double x, double y, do glPushMatrix(); glDisable(GL_CULL_FACE); - glTranslatef((float) x, (float) y, (float) z); + glTranslatef(static_cast<float>(x), static_cast<float>(y), static_cast<float>(z)); float scale = 1 / 16.0f; glEnable(GL_RESCALE_NORMAL); |
