From 0194e3ae59bb9dd8b128ef50741cd07a756bb74a Mon Sep 17 00:00:00 2001 From: Johanna Ploog Date: Sat, 19 Dec 2009 16:33:08 +0100 Subject: Fix Xom acts also being suppressed for the &X command. --- crawl-ref/source/xom.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index fd9f6c6a40..0c56cbac40 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -3680,7 +3680,7 @@ int xom_acts(bool niceness, int sever, int tension, bool debug) take_note(Note(NOTE_MESSAGE, 0, 0, "suppress good act because of " "zero tension"), true); #endif - return (XOM_GOOD_NOTHING); + return (debug ? XOM_GOOD_NOTHING : XOM_DID_NOTHING); } // Good stuff. @@ -3712,7 +3712,7 @@ int xom_acts(bool niceness, int sever, int tension, bool debug) tension); take_note(Note(NOTE_MESSAGE, 0, 0, info), true); #endif - return (XOM_BAD_NOTHING); + return (debug ? XOM_BAD_NOTHING : XOM_DID_NOTHING); } // Bad mojo. -- cgit v1.2.3-54-g00ecf