Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarPlayer.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-08-19 12:15:22 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-08-19 12:15:22 +1000
commitd53379f6c20e1bdba5cbc3fd9b0445a099891276 (patch)
tree2bfda2d4495a833cb0ce6eec74843a7e2bf57030 /source/game/StarPlayer.cpp
parent156c243360d8a747c5951fe6a49abec9dafb11e0 (diff)
blah
Diffstat (limited to 'source/game/StarPlayer.cpp')
-rw-r--r--source/game/StarPlayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/StarPlayer.cpp b/source/game/StarPlayer.cpp
index 2a60d2b..400c49e 100644
--- a/source/game/StarPlayer.cpp
+++ b/source/game/StarPlayer.cpp
@@ -1143,7 +1143,7 @@ PlayerInventoryPtr Player::inventory() const {
return m_inventory;
}
-size_t Player::itemsCanHold(ItemPtr const& items) const {
+uint64_t Player::itemsCanHold(ItemPtr const& items) const {
return m_inventory->itemsCanFit(items);
}
@@ -1211,7 +1211,7 @@ bool Player::hasItem(ItemDescriptor const& descriptor, bool exactMatch) const {
return m_inventory->hasItem(descriptor, exactMatch);
}
-size_t Player::hasCountOfItem(ItemDescriptor const& descriptor, bool exactMatch) const {
+uint64_t Player::hasCountOfItem(ItemDescriptor const& descriptor, bool exactMatch) const {
return m_inventory->hasCountOfItem(descriptor, exactMatch);
}