This commit is contained in:
parent
0f78ed421d
commit
a4b2a1b026
|
@ -138,8 +138,7 @@ fn find_path_for_shape<D: 'static + Clone + Default + Send + Sync>(
|
|||
cost *= modifier;
|
||||
}
|
||||
}
|
||||
successors
|
||||
.push(((tile.0 as i32, tile.1 as i32), cost as u32));
|
||||
successors.push(((tile.0 as i32, tile.1 as i32), cost as u32));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user