From fe8f7273f0efdfe319a0d3e3b2fc2847992745af Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Mon, 21 Oct 2024 14:02:34 +0200 Subject: fix more design --- StepTileCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'StepTileCommand.cpp') 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(); } -- cgit v1.2.3