diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-04 06:30:41 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-04 06:30:41 +0000 |
commit | d5c69c9f285d371b0625de75b9a71055ec220061 (patch) | |
tree | 0ec078bad93eadb5c3cc680b617e6b5a6f82e42a /crawl-ref/source/debug.cc | |
parent | 9031dab3a7fd207c9d6ac99fc16874b959c51f8c (diff) | |
download | crawl-ref-d5c69c9f285d371b0625de75b9a71055ec220061.tar.gz crawl-ref-d5c69c9f285d371b0625de75b9a71055ec220061.zip |
[1956565] Fix issues with monster names.
Monster names are now stored in the monster struct and saved.
Changed some monster-finding functions to return monsters* instead of monster index for type-safety.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4859 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/debug.cc')
-rw-r--r-- | crawl-ref/source/debug.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc index cbc1d14429..0aa7ca040b 100644 --- a/crawl-ref/source/debug.cc +++ b/crawl-ref/source/debug.cc @@ -3563,7 +3563,7 @@ void debug_apply_monster_blessing(monsters* mon) else god = GOD_SHINING_ONE; - if (!bless_follower(monster_index(mon), god, _force_suitable, true)) + if (!bless_follower(mon, god, _force_suitable, true)) mprf("%s won't bless this monster for you!", god_name(god).c_str()); } #endif |