1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Keep track of player item

This commit is contained in:
Giuseppe Bilotta 2011-08-10 18:31:44 +02:00
parent 467b3cf4c1
commit 91d1186cbb
5 changed files with 28 additions and 1 deletions

View file

@ -2200,6 +2200,7 @@ void the_game(
if(client.getLocalInventoryUpdated()
|| g_selected_item != old_selected_item)
{
client.selectPlayerItem(g_selected_item);
old_selected_item = g_selected_item;
//std::cout<<"Updating local inventory"<<std::endl;
client.getLocalInventory(local_inventory);