From 180a43d09721a32ad502f5e583d3b2d797501c00 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Fri, 27 Sep 2019 17:51:44 +0200 Subject: Fixed MSVC warnings (#4400) --- src/Mobs/Slime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mobs') diff --git a/src/Mobs/Slime.cpp b/src/Mobs/Slime.cpp index 3198ce801..b4132ec26 100644 --- a/src/Mobs/Slime.cpp +++ b/src/Mobs/Slime.cpp @@ -19,7 +19,7 @@ cSlime::cSlime(int a_Size) : ), m_Size(a_Size) { - SetMaxHealth(a_Size * a_Size); + SetMaxHealth(static_cast(a_Size * a_Size)); SetAttackDamage(a_Size); } -- cgit v1.2.3