Let flyers path over water and lava everywhere
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
574660e173
commit
1ef2239fbf
7 files changed
+85
-23
No files matched your search
+1
-1
@@ -97,7 +97,7 @@ impl Game {
|
||||
let mut n = 0;
|
||||
for (&j, &spot) in cands.iter().zip(spots.iter()).take(GUARDS) {
|
||||
let cur = self.ents[j].tile();
|
||||
let Some(p) = self.map.path_to(cur, spot) else { continue };
|
||||
let Some(p) = self.map.creature_path(flies(self.ents[j].kind), cur, spot) else { continue };
|
||||
let me = self.ents[j].id + 1;
|
||||
self.unreserve(me);
|
||||
self.map.t[spot].reserved = me;
|
||||
|
||||
Reference in new issue
Block a user