Parcourir la source

fix log message had extra %s

Emagi il y a 7 mois
Parent
commit
4383e6b20a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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));