From: <wel...@us...> - 2011-02-07 18:59:27
|
Revision: 6883 http://planeshift.svn.sourceforge.net/planeshift/?rev=6883&view=rev Author: weltall2 Date: 2011-02-07 18:59:21 +0000 (Mon, 07 Feb 2011) Log Message: ----------- fixed possible null pointer reference. Modified Paths: -------------- trunk/src/npcclient/npcbehave.cpp Modified: trunk/src/npcclient/npcbehave.cpp =================================================================== --- trunk/src/npcclient/npcbehave.cpp 2011-02-07 18:34:31 UTC (rev 6882) +++ trunk/src/npcclient/npcbehave.cpp 2011-02-07 18:59:21 UTC (rev 6883) @@ -1065,10 +1065,10 @@ csString psResumeScriptEvent::ToString() const { csString result; - result.Format("Resuming script operation %s for %s",scriptOp->GetName(),npc->GetName()); + result.Format("Resuming script operation %s",scriptOp->GetName()); if (npc) { - result.AppendFmt("(%s)", ShowID(npc->GetEID())); + result.AppendFmt("for %s (%s)", npc->GetName(), ShowID(npc->GetEID())); } return result; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |