From 720aedb46740ba203b4a0f3e049e368abc4932b3 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Mon, 9 Sep 2019 20:35:45 +0200 Subject: [PATCH] InventoryManager: Fix virtual function overload warning --- src/inventorymanager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){} };