From 42b61e0053ee5f389317f10f009d5853df20ed1d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 28 Jul 2019 11:11:04 +0200 Subject: [PATCH] ambush restriction no longer considers friendly, slow, or multi-tile monsters --- game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.cpp b/game.cpp index 4f7c52d7..afe54941 100644 --- a/game.cpp +++ b/game.cpp @@ -6765,7 +6765,7 @@ int ambushSize(cell *c, eItem what) { bool restricted = false; for(cell *c2: dcal) { if(c2->cpdist > 3) break; - if(c2->monst) restricted = true; + if(c2->monst && !isFriendly(c2) && !slowMover(c2) && !isMultitile(c2)) restricted = true; } int qty = items[itHunting];