From: SmallJoker Date: Mon, 9 Sep 2019 18:35:45 +0000 (+0200) Subject: InventoryManager: Fix virtual function overload warning X-Git-Tag: 5.1.0~52 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=720aedb46740ba203b4a0f3e049e368abc4932b3;p=oweals%2Fminetest.git InventoryManager: Fix virtual function overload warning --- 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){} };