1
0

Hotfixed compilation problems.

This commit is contained in:
madmaxoft
2014-07-27 23:15:51 +02:00
parent 0814a977f8
commit fd4ee20b2a
2 changed files with 2 additions and 2 deletions

View File

@@ -366,7 +366,7 @@ void cItemHandler::OnFoodEaten(cWorld * a_World, cPlayer * a_Player, cItem * a_I
short cItemHandler::GetDurabilityLossByAction(eDurabilityLostAction a_Action)
{
switch (a_Action)
switch ((int)a_Action)
{
case dlaAttackEntity: return 2;
case dlaBreakBlock: return 1;