KYRA: Remove redundant code.

item variable value is less than 33, that is, 32 max. item+1 is never > 33.
Thus, the clapping code is redundant.
This commit is contained in:
Eugene Sandulenko 2016-05-17 19:12:14 +02:00
parent fcc94778e4
commit 921efd6880

View File

@ -844,8 +844,6 @@ void KyraEngine_LoK::updatePlayerItemsForScene() {
uint8 item = _currentCharacter->inventoryItems[i];
if (item >= 29 && item < 33) {
++item;
if (item > 33)
item = 33;
_currentCharacter->inventoryItems[i] = item;
redraw = true;
}