InventoryManager: Fix virtual function overload warning
authorSmallJoker <mk939@ymail.com>
Mon, 9 Sep 2019 18:35:45 +0000 (20:35 +0200)
committerSmallJoker <mk939@ymail.com>
Mon, 9 Sep 2019 18:35:45 +0000 (20:35 +0200)
src/inventorymanager.h

index 06517f40faaa607ab39cf7ff34eed68b8e88d520..69bf3016905862ac8bf29399ef45ab1b20bdff9d 100644 (file)
@@ -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){}
 };