summary refs log tree commit diff stats
path: root/src/simulation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation.cpp')
-rw-r--r--src/simulation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation.cpp b/src/simulation.cpp index 4d8ec02..62026a6 100644 --- a/src/simulation.cpp +++ b/src/simulation.cpp
@@ -342,7 +342,7 @@ bool Simulation::moveEntityOnGrid(
342 } 342 }
343 } 343 }
344 344
345 if (!level_.getTileset().canEntityMoveTo( 345 if (!level_.getTileset(Layer::map).canEntityMoveTo(
346 entity.colliderType, 346 entity.colliderType,
347 level_.at(shouldMoveTo))) 347 level_.at(shouldMoveTo)))
348 { 348 {