minor entity bug fix, refactor tilemap to better map types and color

This commit is contained in:
2026-07-08 01:20:26 -07:00
parent 85c22cf74b
commit 6de39f8488
3 changed files with 56 additions and 28 deletions
+1
View File
@@ -88,6 +88,7 @@ entity_set_move_target :: proc(
start := ew.position[i]
if !pathfind_astar(tm, start, target, &ew.path[i]) {
ew.move_state[i] = .Idle
return false
}
ew.path_index[i] = 1