Browse Source

fix log message had extra %s

Emagi 7 months ago
parent
commit
4383e6b20a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EQ2/source/WorldServer/LuaInterface.cpp

+ 1 - 1
EQ2/source/WorldServer/LuaInterface.cpp

@@ -640,7 +640,7 @@ bool LuaInterface::CallSpellProcess(LuaSpell* spell, int8 num_parameters, std::s
 	current_spells[spell->state] = spell;
 	MSpells.unlock();
 	
-	LogWrite(SPELL__DEBUG, 0, "Spell", "%s LuaInterface::CallSpellProcess spell %s (%u) function %s, caster %s.", spell->spell ? spell->spell->GetName() : "UnknownUnset", spell->spell ? spell->spell->GetSpellID() : 0, customFunction.c_str(), spell->caster->GetName());
+	LogWrite(SPELL__DEBUG, 0, "Spell", "LuaInterface::CallSpellProcess spell %s (%u) function %s, caster %s.", spell->spell ? spell->spell->GetName() : "UnknownUnset", spell->spell ? spell->spell->GetSpellID() : 0, customFunction.c_str(), spell->caster->GetName());
 	
 	if(lua_pcall(spell->state, num_parameters, 0, 0) != 0){
 		LogError("Error running function '%s' in %s: %s", customFunction.c_str(), spell->spell->GetName(), lua_tostring(spell->state, -1));