mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
crafting system!
This commit is contained in:
parent
2e41a5e304
commit
3de176cc58
22 changed files with 703 additions and 143 deletions
11
src/main.cpp
11
src/main.cpp
|
@ -2304,7 +2304,16 @@ int main(int argc, char *argv[])
|
|||
client.getLocalInventory(local_inventory);
|
||||
quick_inventory->setSelection(g_selected_item);
|
||||
quick_inventory->update();
|
||||
inventoryMenu->update();
|
||||
}
|
||||
|
||||
/*
|
||||
Send actions returned by the inventory menu
|
||||
*/
|
||||
while(InventoryAction *a = inventoryMenu->getNextAction())
|
||||
{
|
||||
client.sendInventoryAction(a);
|
||||
// Eat it
|
||||
delete a;
|
||||
}
|
||||
|
||||
if(input_guitext != NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue