summaryrefslogtreecommitdiff
path: root/src/game-server/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/inventory.h')
-rw-r--r--src/game-server/inventory.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game-server/inventory.h b/src/game-server/inventory.h
index 42856bff..75336ace 100644
--- a/src/game-server/inventory.h
+++ b/src/game-server/inventory.h
@@ -36,7 +36,8 @@ class Inventory
/**
* Creates a view on the possessions of a character.
*/
- Inventory(Character *);
+ explicit Inventory(Being *);
+ Inventory(Being *, Possessions &possessions);
/**
* Commits delayed changes if applicable.
@@ -189,7 +190,7 @@ class Inventory
Possessions *mPoss; /**< Pointer to the modified possessions. */
- Character *mCharacter; /**< Character to notify. */
+ Being *mCharacter; /**< Character to notify. */
};
#endif