aboutsummaryrefslogtreecommitdiff
path: root/StepTileCommand.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-21 14:02:34 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-21 14:02:34 +0200
commitfe8f7273f0efdfe319a0d3e3b2fc2847992745af (patch)
tree9f56560c8a35c3e281881fa48cd79b26f8e8de7e /StepTileCommand.cpp
parent4cb7ca42003c177e3acc80075d7594e555966106 (diff)
fix more design
Diffstat (limited to 'StepTileCommand.cpp')
-rw-r--r--StepTileCommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/StepTileCommand.cpp b/StepTileCommand.cpp
index cc7d62d..bac9f5d 100644
--- a/StepTileCommand.cpp
+++ b/StepTileCommand.cpp
@@ -13,7 +13,7 @@ void StepTileCommand::execute() {
if (this->x >= canvas.data.columns) return;
if (this->y >= canvas.data.rows) return;
Tile & tile = canvas.get_tile(this->x, this->y);
- tile.step(nullptr);
+ tile.behavior->step(nullptr);
tile.update();
}