diff options
Diffstat (limited to 'Minecraft.Client/InventoryScreen.cpp')
| -rw-r--r-- | Minecraft.Client/InventoryScreen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.Client/InventoryScreen.cpp b/Minecraft.Client/InventoryScreen.cpp index 726a5e8d..b6728533 100644 --- a/Minecraft.Client/InventoryScreen.cpp +++ b/Minecraft.Client/InventoryScreen.cpp @@ -31,8 +31,8 @@ void InventoryScreen::renderLabels() void InventoryScreen::render(int xm, int ym, float a) { AbstractContainerScreen::render(xm, ym, a); - this->xMouse = (float)xm; - this->yMouse = (float)ym; + this->xMouse = static_cast<float>(xm); + this->yMouse = static_cast<float>(ym); } void InventoryScreen::renderBg(float a) |
