Skip to content

Commit

Permalink
InventoryManager: Fix virtual function overload warning
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Sep 9, 2019
1 parent fae6242 commit 720aedb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inventorymanager.h
Expand Up @@ -111,7 +111,7 @@ class InventoryManager
// 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){}
};
Expand Down

0 comments on commit 720aedb

Please sign in to comment.