summaryrefslogtreecommitdiff
path: root/src/serverobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/serverobject.h')
-rw-r--r--src/serverobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/serverobject.h b/src/serverobject.h
index 26dce007f..9e9513a7c 100644
--- a/src/serverobject.h
+++ b/src/serverobject.h
@@ -123,6 +123,8 @@ public:
// If all fits, eats item and returns true. Otherwise returns false.
virtual bool addToInventory(InventoryItem *item)
{return false;}
+ virtual void addToInventoryLater(InventoryItem *item)
+ {}
virtual void setHP(s16 hp)
{}
virtual s16 getHP()