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

summaryrefslogtreecommitdiff
path: root/source/game/items/StarMaterialItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/items/StarMaterialItem.cpp')
-rw-r--r--source/game/items/StarMaterialItem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/game/items/StarMaterialItem.cpp b/source/game/items/StarMaterialItem.cpp
index 73ef1d1..48b5c57 100644
--- a/source/game/items/StarMaterialItem.cpp
+++ b/source/game/items/StarMaterialItem.cpp
@@ -44,9 +44,9 @@ void MaterialItem::init(ToolUserEntity* owner, ToolHand hand) {
BeamItem::init(owner, hand);
}
-void MaterialItem::update(FireMode fireMode, bool shifting, HashSet<MoveControlType> const& moves) {
- FireableItem::update(fireMode, shifting, moves);
- BeamItem::update(fireMode, shifting, moves);
+void MaterialItem::update(float dt, FireMode fireMode, bool shifting, HashSet<MoveControlType> const& moves) {
+ FireableItem::update(dt, fireMode, shifting, moves);
+ BeamItem::update(dt, fireMode, shifting, moves);
if (shifting || !multiplaceEnabled())
setEnd(BeamItem::EndType::Tile);
else