1
0

More MSVC warning fixes.

This commit is contained in:
madmaxoft
2014-01-07 16:00:19 +01:00
parent bcd41dc1aa
commit 39a1bcdea0
9 changed files with 11 additions and 11 deletions

View File

@@ -491,7 +491,7 @@ void cSlotAreaCrafting::ShiftClickedResult(cPlayer & a_Player)
return;
}
cItem * PlayerSlots = GetPlayerSlots(a_Player) + 1;
do
for (;;)
{
// Try distributing the result. If it fails, bail out:
cItem ResultCopy(Result);
@@ -517,7 +517,7 @@ void cSlotAreaCrafting::ShiftClickedResult(cPlayer & a_Player)
// The recipe has changed, bail out
return;
}
} while (true);
}
}