diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-18 21:48:09 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-18 21:48:09 +1000 |
commit | cd36a269fd1ccfd40ec09aca25285c6f9a875c43 (patch) | |
tree | 91636b3f3dae3ce7caaedca38d99a061365c884b /source/game/StarItemDrop.hpp | |
parent | b51e174bdc158187fc110dc4a947946d3dc329c1 (diff) |
Account for latency predicting item drop pickup
Diffstat (limited to 'source/game/StarItemDrop.hpp')
-rw-r--r-- | source/game/StarItemDrop.hpp | 2 |
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. |