From 66935fe21bbee189f5454c94e76f4880f2aaf738 Mon Sep 17 00:00:00 2001 From: KimLS Date: Fri, 11 Feb 2022 01:15:02 -0800 Subject: [PATCH] Fix for passing std::string to vsprintf --- zone/spell_effects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index f3701f316..01520dc3e 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -8248,7 +8248,7 @@ void Mob::SendCastRestrictionMessage(int requirement_id, bool target_requirement */ - std::string msg = ""; + const char *msg = ""; if (target_requirement) { msg = "Your target does not meet the spell requirements. ";