diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-31 02:15:16 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-31 02:15:16 +0000 |
commit | 0ba12af5e57ee766de7aa07936f6ad3cf33e6fe7 (patch) | |
tree | 9c62bc0741c22966b51e1eb246618749db20b94e /crawl-ref/source | |
parent | 41360b79153ca8182094e695ad0a7805ee2946b0 (diff) | |
download | crawl-ref-0ba12af5e57ee766de7aa07936f6ad3cf33e6fe7.tar.gz crawl-ref-0ba12af5e57ee766de7aa07936f6ad3cf33e6fe7.zip |
Fix giant orange brain messages crash; was setting a boolean pointer to false
instead of the boolean that was pointed to. Why didn't the compiler catch
that?
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8047 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 606394de73..5b45335e41 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -5104,7 +5104,7 @@ std::string monsters::hand_name(bool plural, bool *can_plural) const else { str = "body"; - can_plural = false; + *can_plural = false; } break; } |