diff options
author | click <none@none> | 2010-08-09 20:20:55 +0200 |
---|---|---|
committer | click <none@none> | 2010-08-09 20:20:55 +0200 |
commit | 3d48c480ce6c67c03992f5dcbc0e85c0b222f516 (patch) | |
tree | b2d95b9fb3451cf9b678d070fdb3eedc6cd3a8d7 | |
parent | 8c49f2bc0dab9eae33c6f87397a509dc3a35b36e (diff) |
Fix: append a .c_str() on a variable in Spell.cpp (no more grumpy compilers) - Thanks to StormByte for the heads up
Fixes issue 3343
--HG--
branch : trunk
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 3db4c77f00f..2a9d7ecbe8b 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -292,7 +292,7 @@ void SpellCastTargets::OutDebug() } if (m_targetMask & TARGET_FLAG_STRING) { - sLog.outString("TARGET_FLAG_STRING: %s", m_strTarget); + sLog.outString("TARGET_FLAG_STRING: %s", m_strTarget.c_str()); } sLog.outString("speed: %f", m_speed); sLog.outString("elevation: %f", m_elevation); |