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

summaryrefslogtreecommitdiff
path: root/source/game/items/StarTools.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-08-20 18:56:50 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-08-20 18:56:50 +1000
commit6e7c0498ef18ea558621eb7ca98f91122a55e6a6 (patch)
treee967d03fbd3222f21e102ec608dc42eb811a990f /source/game/items/StarTools.cpp
parent0bb0bd30b00a8c9dd5ee6c0398908ba9d7f057ae (diff)
Hook tile meshing up to Material Item drop and preview
Diffstat (limited to 'source/game/items/StarTools.cpp')
-rw-r--r--source/game/items/StarTools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/items/StarTools.cpp b/source/game/items/StarTools.cpp
index 602e554..7faaeae 100644
--- a/source/game/items/StarTools.cpp
+++ b/source/game/items/StarTools.cpp
@@ -360,7 +360,7 @@ void BeamMiningTool::setEnd(EndType) {
m_endType = EndType::Object;
}
-List<PreviewTile> BeamMiningTool::preview(bool shifting) const {
+List<PreviewTile> BeamMiningTool::previewTiles(bool shifting) const {
List<PreviewTile> result;
auto ownerp = owner();
auto worldp = world();
@@ -636,7 +636,7 @@ void PaintingBeamTool::update(float dt, FireMode fireMode, bool shifting, HashSe
FireableItem::update(dt, fireMode, shifting, moves);
}
-List<PreviewTile> PaintingBeamTool::preview(bool shifting) const {
+List<PreviewTile> PaintingBeamTool::previewTiles(bool shifting) const {
List<PreviewTile> result;
auto ownerp = owner();
auto worldp = world();