aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2019-09-09 20:35:45 +0200
committerSmallJoker <mk939@ymail.com>2019-09-09 20:35:45 +0200
commit720aedb46740ba203b4a0f3e049e368abc4932b3 (patch)
treeee32604595cfc67d1deab8ef75f59924916e9ff8
parentfae6242d4ef6ca34d131054484acf5efc2fcba70 (diff)
downloadminetest-720aedb46740ba203b4a0f3e049e368abc4932b3.tar.gz
minetest-720aedb46740ba203b4a0f3e049e368abc4932b3.tar.bz2
minetest-720aedb46740ba203b4a0f3e049e368abc4932b3.zip
InventoryManager: Fix virtual function overload warning
-rw-r--r--src/inventorymanager.h2
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){}
};