diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2009-12-19 16:33:08 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2009-12-19 16:33:08 +0100 |
commit | 0194e3ae59bb9dd8b128ef50741cd07a756bb74a (patch) | |
tree | 38dcbddd037ff07130830eddc5c6dad404b75c05 /crawl-ref/source/xom.cc | |
parent | 5502e2dc99803ff007db547354bedffcb58baa9d (diff) | |
download | crawl-ref-0194e3ae59bb9dd8b128ef50741cd07a756bb74a.tar.gz crawl-ref-0194e3ae59bb9dd8b128ef50741cd07a756bb74a.zip |
Fix Xom acts also being suppressed for the &X command.
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r-- | crawl-ref/source/xom.cc | 4 |
1 files 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. |