aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/TntRenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/TntRenderer.cpp')
-rw-r--r--Minecraft.Client/TntRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/TntRenderer.cpp b/Minecraft.Client/TntRenderer.cpp
index 52e2877d..848a456c 100644
--- a/Minecraft.Client/TntRenderer.cpp
+++ b/Minecraft.Client/TntRenderer.cpp
@@ -17,7 +17,7 @@ void TntRenderer::render(shared_ptr<Entity> _tnt, double x, double y, double z,
shared_ptr<PrimedTnt> tnt = dynamic_pointer_cast<PrimedTnt>(_tnt);
glPushMatrix();
- glTranslatef((float) x, (float) y, (float) z);
+ glTranslatef(static_cast<float>(x), static_cast<float>(y), static_cast<float>(z));
if (tnt->life - a + 1 < 10)
{
float g = 1 - ((tnt->life - a + 1) / 10.0f);