aboutsummaryrefslogtreecommitdiff
path: root/StepTileCommand.cpp
diff options
context:
space:
mode:
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();
}