From: <ken...@us...> - 2008-01-01 00:26:12
|
Revision: 568 http://planeshift.svn.sourceforge.net/planeshift/?rev=568&view=rev Author: kennygraunke Date: 2007-12-31 16:26:17 -0800 (Mon, 31 Dec 2007) Log Message: ----------- Fix error in last commit. Modified Paths: -------------- trunk/src/server/gem.cpp Modified: trunk/src/server/gem.cpp =================================================================== --- trunk/src/server/gem.cpp 2008-01-01 00:24:44 UTC (rev 567) +++ trunk/src/server/gem.cpp 2008-01-01 00:26:17 UTC (rev 568) @@ -3154,11 +3154,11 @@ int gemActor::AttachAttackScript(const csString & scriptName) { - Debug3(LOG_COMBAT, "---attach %s %s",GetName(),scriptName.GetData()); + Debug3(LOG_COMBAT, playerID, "---attach %s %s", GetName(), scriptName.GetData()); int scriptID = GetFreeScriptSlot(onAttackScripts); onAttackScripts[ scriptID ] = scriptName; - Debug2(LOG_COMBAT, "---%i",scriptID); + Debug2(LOG_COMBAT, playerID, "---%i", scriptID); return scriptID; } @@ -3176,7 +3176,7 @@ int gemActor::AttachDamageScript(const csString & scriptName) { - Debug3(LOG_COMBAT, "---attach dam %s %s",GetName(),scriptName.GetData()); + Debug3(LOG_COMBAT, playerID, "---attach dam %s %s", GetName(), scriptName.GetData()); int scriptID = GetFreeScriptSlot(onDamageScripts); onDamageScripts[ scriptID ] = scriptName; @@ -3185,7 +3185,7 @@ void gemActor::DetachDamageScript(int scriptID) { - Debug3(LOG_COMBAT, "---detach dam %s %i",GetName(),scriptID); + Debug3(LOG_COMBAT, playerID, "---detach dam %s %i", GetName(), scriptID); if (scriptID<0 || scriptID>=(int)onDamageScripts.GetSize()) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |