From: <wel...@us...> - 2011-11-27 07:37:00
|
Revision: 7764 http://planeshift.svn.sourceforge.net/planeshift/?rev=7764&view=rev Author: weltall2 Date: 2011-11-27 07:36:54 +0000 (Sun, 27 Nov 2011) Log Message: ----------- show "with the voice file" part only if there is a voice file Modified Paths: -------------- trunk/src/server/questmanager.cpp Modified: trunk/src/server/questmanager.cpp =================================================================== --- trunk/src/server/questmanager.cpp 2011-11-26 23:27:57 UTC (rev 7763) +++ trunk/src/server/questmanager.cpp 2011-11-27 07:36:54 UTC (rev 7764) @@ -846,8 +846,9 @@ return line_number; } - Debug4( LOG_QUESTS, 0,"NPC %s responds with '%s', with the voice file '%s'", current_npc.GetData(), - response_text.GetData(), file_path.GetDataSafe() ); + Debug6( LOG_QUESTS, 0,"NPC %s responds with '%s'%s%s%s", current_npc.GetData(), + response_text.GetData(), file_path.IsEmpty()? "" : ", with the voice file '", + file_path.GetDataSafe(), file_path.IsEmpty()? "" : "'" ); // Now add this response to the npc dialog dict if (which_trigger == 0) // new sequence This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |