Add Bucket + Water/Lava = Rock Interaction

This commit is contained in:
Andre Schweiger 2015-12-27 19:04:33 +01:00
parent 3a7865b913
commit 6f73c1892a
7 changed files with 53 additions and 5 deletions

View file

@ -408,7 +408,7 @@ void tickMenu(int menu){
removeItemFromInventory(curInvSel, player.p.inv); // remove original
pushItemToInventoryFront(median, player.p.inv); // add copy to front
player.p.activeItem = &player.p.inv->items[0]; // active item = copy.
if(player.p.activeItem->id > 27) player.p.isCarrying = true;
if(player.p.activeItem->id > 27 && player.p.activeItem->id < 34) player.p.isCarrying = true;
else player.p.isCarrying = false;
}
currentMenu = MENU_NONE;