Bridge tear test without imps (they would mend the bridge)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
29e4970ab1
commit
76c23a06f0
1 file changed
+2
@@ -6018,6 +6018,8 @@ mod tests {
|
|||||||
}
|
}
|
||||||
g.map.t[idx(bx, by)].kind = Kind::Bridge;
|
g.map.t[idx(bx, by)].kind = Kind::Bridge;
|
||||||
g.map.t[idx(bx, by)].owner = Owner::Player;
|
g.map.t[idx(bx, by)].owner = Owner::Player;
|
||||||
|
// no imps around to mend it (and to be attacked instead)
|
||||||
|
g.ents.retain(|e| e.hero);
|
||||||
let mut torn = false;
|
let mut torn = false;
|
||||||
for _ in 0..(90 * 20) {
|
for _ in 0..(90 * 20) {
|
||||||
g.update(0.05);
|
g.update(0.05);
|
||||||
|
|||||||
Reference in new issue
Block a user