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

summaryrefslogtreecommitdiff
path: root/source/game/StarPlayer.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-11 17:03:09 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-11 17:03:09 +1100
commit353406780181feffaa4836d387db4f7337ce6cce (patch)
treebeb71edbff7141af6f1b960f050b6484ec9eb758 /source/game/StarPlayer.hpp
parentcaf7abebfe784a94fbc0e6b51e49cfeab91bf96a (diff)
Tile Prediction: make refunds silent
Diffstat (limited to 'source/game/StarPlayer.hpp')
-rw-r--r--source/game/StarPlayer.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarPlayer.hpp b/source/game/StarPlayer.hpp
index 766f16e..933f623 100644
--- a/source/game/StarPlayer.hpp
+++ b/source/game/StarPlayer.hpp
@@ -200,7 +200,7 @@ public:
uint64_t itemsCanHold(ItemPtr const& items) const;
// Adds items to the inventory, returning the overflow.
// The items parameter is invalid after use.
- ItemPtr pickupItems(ItemPtr const& items);
+ ItemPtr pickupItems(ItemPtr const& items, bool silent = false);
// Pick up all of the given items as possible, dropping the overflow.
// The item parameter is invalid after use.
void giveItem(ItemPtr const& item);