ambush restriction no longer considers friendly, slow, or multi-tile monsters

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:09 +02:00
1 parent 9616b76848
commit 42b61e0053
1 file changed
+1 -1
+1 -1
View File
@@ -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];