diff --git a/src/stage.rs b/src/stage.rs index a053928..abea87f 100644 --- a/src/stage.rs +++ b/src/stage.rs @@ -205,7 +205,7 @@ impl Stage { // If our next cell would be one that we collide with. if npc.obstructed_from.contains(&next_cell.variance) { npc.direction.invert(); - hit_cells.push((npc.next_position().0 as usize, npc.next_position().1 as usize)); + hit_cells.push((npc.pos_x, npc.pos_y)); continue; }