mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
InventoryManager: Fix virtual function overload warning
This commit is contained in:
parent
fae6242d4e
commit
720aedb467
@ -111,7 +111,7 @@ public:
|
|||||||
// Get an inventory (server and client)
|
// Get an inventory (server and client)
|
||||||
virtual Inventory* getInventory(const InventoryLocation &loc){return NULL;}
|
virtual Inventory* getInventory(const InventoryLocation &loc){return NULL;}
|
||||||
// Set modified (will be saved and sent over network; only on server)
|
// Set modified (will be saved and sent over network; only on server)
|
||||||
virtual void setInventoryModified(const InventoryLocation &loc, bool playerSend = true){}
|
virtual void setInventoryModified(const InventoryLocation &loc) {}
|
||||||
// Send inventory action to server (only on client)
|
// Send inventory action to server (only on client)
|
||||||
virtual void inventoryAction(InventoryAction *a){}
|
virtual void inventoryAction(InventoryAction *a){}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user