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

summaryrefslogtreecommitdiff
path: root/source/game/StarItemDrop.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarItemDrop.hpp')
-rw-r--r--source/game/StarItemDrop.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarItemDrop.hpp b/source/game/StarItemDrop.hpp
index e72878c..54114fb 100644
--- a/source/game/StarItemDrop.hpp
+++ b/source/game/StarItemDrop.hpp
@@ -70,7 +70,7 @@ public:
// Mark this drop as taken by the given entity. The drop will animate
// towards them for a while and then disappear.
- ItemPtr takeBy(EntityId entityId);
+ ItemPtr takeBy(EntityId entityId, float timeOffset = 0.0f);
// Mark this drop as taken, but do not animate it towards a player simply
// disappear next step.