From 1f88b87154f5271c4df6b82275e78e1604560d88 Mon Sep 17 00:00:00 2001 From: Jesse Ruderman Date: Fri, 16 Jul 2021 09:28:47 -0700 Subject: [PATCH] Rose scent can now force the player's allies to walk into rosebushes --- monstermove.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monstermove.cpp b/monstermove.cpp index 7c3fe24e..ffdca97d 100644 --- a/monstermove.cpp +++ b/monstermove.cpp @@ -1596,8 +1596,8 @@ EX int movevalue(eMonster m, cell *c, int dir, flagtype flags) { if(b) val = 50; else if(tk2 > tk) val += 1000 + 200 * (tk2 - tk); } - else if(passable_for(m, c2, c, P_DEADLY)) val = -1100; - else val = -1750; + else if(passable_for(m, c2, c, P_DEADLY)) return -1100; + else return -1750; if(c->monst == moGolem ) { val -= c2->pathdist;