From: <wel...@us...> - 2010-04-22 17:21:07
|
Revision: 5824 http://planeshift.svn.sourceforge.net/planeshift/?rev=5824&view=rev Author: weltall2 Date: 2010-04-22 17:21:01 +0000 (Thu, 22 Apr 2010) Log Message: ----------- better error output Modified Paths: -------------- trunk/src/npcclient/npcbehave.cpp Modified: trunk/src/npcclient/npcbehave.cpp =================================================================== --- trunk/src/npcclient/npcbehave.cpp 2010-04-21 04:29:49 UTC (rev 5823) +++ trunk/src/npcclient/npcbehave.cpp 2010-04-22 17:21:01 UTC (rev 5824) @@ -190,8 +190,8 @@ // Should probably delete and cleare out here // to allow for overriding of event,affected pairs. // Though now give error, unntil needed. - Error3("Reaction of type '%s' allready connected to '%s'", - r->GetEventType(),reactions[i]->affected[j]->GetName()); + Error4("Reaction of type '%s' allready connected to '%s' in '%s'", + r->GetEventType(),reactions[i]->affected[j]->GetName(), name.GetDataSafe()); return false; // delete reactions[i]; //reactions.DeleteIndex(i); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |