From: <eva...@us...> - 2007-10-20 10:53:00
|
Revision: 55 http://planeshift.svn.sourceforge.net/planeshift/?rev=55&view=rev Author: evaikene Date: 2007-10-20 03:53:03 -0700 (Sat, 20 Oct 2007) Log Message: ----------- Changed debug output to output the name of the quest instead of just the pointer value. Modified Paths: -------------- trunk/src/server/bulkobjects/psnpcdialog.cpp Modified: trunk/src/server/bulkobjects/psnpcdialog.cpp =================================================================== --- trunk/src/server/bulkobjects/psnpcdialog.cpp 2007-10-20 10:14:43 UTC (rev 54) +++ trunk/src/server/bulkobjects/psnpcdialog.cpp 2007-10-20 10:53:03 UTC (rev 55) @@ -611,8 +611,8 @@ { Debug3(LOG_NPC, currentClient->GetClientNum(),"Setting last response %d: %s",resp->id,resp->GetResponse()); currentClient->GetCharacterData()->SetLastResponse(resp->id); - Debug4(LOG_NPC, currentClient->GetClientNum(),"Setting last response for quest %d, %d: %s", - resp->quest,resp->id,resp->GetResponse()); + Debug4(LOG_NPC, currentClient->GetClientNum(),"Setting last response for quest '%s', %d: %s", + resp->quest ? resp->quest->GetName() : "none", resp->id, resp->GetResponse()); currentClient->GetCharacterData()->SetAssignedQuestLastResponse(resp->quest,resp->id); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |