From 62bcb16ba7fdda8f87d5b698546c4b3ba4b721cd Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sat, 7 Jun 2014 09:40:26 +0200 Subject: Remove a usage of vstrnfmt() --- src/melee2.cc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/melee2.cc') diff --git a/src/melee2.cc b/src/melee2.cc index 0a139f89..5b3251ef 100644 --- a/src/melee2.cc +++ b/src/melee2.cc @@ -962,12 +962,20 @@ void monster_msg(cptr fmt, ...) /* End the Varargs Stuff */ va_end(vp); + /* Print */ + monster_msg_simple(buf); +} + +void monster_msg_simple(cptr s) +{ /* Display */ if (disturb_other) - msg_print(buf); + { + msg_print(s); + } else { - message_add(buf, TERM_WHITE); + message_add(s, TERM_WHITE); p_ptr->window |= PW_MESSAGE; } } -- cgit v1.2.3