summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r--crawl-ref/source/stuff.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc
index 3e1187d79f..1a622937d6 100644
--- a/crawl-ref/source/stuff.cc
+++ b/crawl-ref/source/stuff.cc
@@ -142,7 +142,7 @@ void tag_followers( void )
#if DEBUG_DIAGNOSTICS
mprf(MSGCH_DIAGNOSTICS, "%s is marked for following.",
- str_monam( *fmenv, DESC_CAP_THE ).c_str() );
+ fmenv->name(DESC_CAP_THE, true).c_str() );
#endif
}
}
@@ -1116,7 +1116,7 @@ void zap_los_monsters()
#ifdef DEBUG_DIAGNOSTICS
mprf(MSGCH_DIAGNOSTICS, "Dismissing %s",
- str_monam(*mon, DESC_PLAIN).c_str() );
+ mon->name(DESC_PLAIN, true).c_str() );
#endif
monster_die(mon, KILL_DISMISSED, 0);
}