diff options
-rw-r--r-- | crawl-ref/source/direct.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/direct.cc b/crawl-ref/source/direct.cc index 7ec311fbaa..f8e77fcc8b 100644 --- a/crawl-ref/source/direct.cc +++ b/crawl-ref/source/direct.cc @@ -504,7 +504,7 @@ void direction(struct dist& moves, targeting_type restricts, #ifdef WIZARD case CMD_TARGET_WIZARD_MAKE_FRIENDLY: // Maybe we can skip this check...but it can't hurt - if (!in_bounds(moves.tx, moves.ty)) + if (!you.wizard || !in_bounds(moves.tx, moves.ty)) break; mid = mgrd[moves.tx][moves.ty]; if (mid == NON_MONSTER) // can put in terrain description here |