diff options
author | SmallJoker <mk939@ymail.com> | 2019-09-09 20:35:45 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2019-09-09 20:35:45 +0200 |
commit | 720aedb46740ba203b4a0f3e049e368abc4932b3 (patch) | |
tree | ee32604595cfc67d1deab8ef75f59924916e9ff8 | |
parent | fae6242d4ef6ca34d131054484acf5efc2fcba70 (diff) | |
download | minetest-720aedb46740ba203b4a0f3e049e368abc4932b3.tar.gz minetest-720aedb46740ba203b4a0f3e049e368abc4932b3.tar.bz2 minetest-720aedb46740ba203b4a0f3e049e368abc4932b3.zip |
InventoryManager: Fix virtual function overload warning
-rw-r--r-- | src/inventorymanager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventorymanager.h b/src/inventorymanager.h index 06517f40f..69bf30169 100644 --- a/src/inventorymanager.h +++ b/src/inventorymanager.h @@ -111,7 +111,7 @@ public: // Get an inventory (server and client) virtual Inventory* getInventory(const InventoryLocation &loc){return NULL;} // 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) virtual void inventoryAction(InventoryAction *a){} }; |