aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/ResourceLocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/ResourceLocation.h')
-rw-r--r--Minecraft.Client/ResourceLocation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/ResourceLocation.h b/Minecraft.Client/ResourceLocation.h
index f53c46c8..1274b25a 100644
--- a/Minecraft.Client/ResourceLocation.h
+++ b/Minecraft.Client/ResourceLocation.h
@@ -34,7 +34,7 @@ public:
m_texture = textureNameArray(textures.length);
for(unsigned int i = 0; i < textures.length; ++i)
{
- m_texture[i] = (_TEXTURE_NAME)textures[i];
+ m_texture[i] = static_cast<_TEXTURE_NAME>(textures[i]);
}
m_preloaded = true;
}