unit: Added basic collision check to move code
authorLukas Krickl <lukas@krickl.dev>
Sat, 31 May 2025 16:11:40 +0000 (18:11 +0200)
committerLukas Krickl <lukas@krickl.dev>
Sat, 31 May 2025 16:11:40 +0000 (18:11 +0200)
commit6f773d40a16326dcac3977f99e38861ac2288474
tree7c38af45562da99ba4817e29b2637ca5438cad0d
parent2d8dac183286397410b794ea7f73251084e7e7ec
unit: Added basic collision check to move code

This change introduces a bug that prevents a unit from moving to the
very last tile of a map :^)
maps/default_map.s
src/unit.s