Skip to content
Browse files

InventoryManager: Fix virtual function overload warning

  • Loading branch information
SmallJoker committed Sep 9, 2019
1 parent fae6242 commit 720aedb46740ba203b4a0f3e049e368abc4932b3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/inventorymanager.h
@@ -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){}

0 comments on commit 720aedb

Please sign in to comment.
You can’t perform that action at this time.