Minor code improvements for quest logging.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9178 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Sevenfm
2021-10-14 08:43:15 +00:00
parent 0a717c2697
commit aa767c4355
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ void DebugQuestInfo(STR szOutput)
if (DebugFile != NULL)
{
// first write game clock and date/time
sprintf(buf, "%d Day %d %d:%d ", GetJA2Clock(), guiDay, guiHour, guiMin);
sprintf(buf, "(%d) Day %d %d:%d ", GetJA2Clock(), guiDay, guiHour, guiMin);
fputs(buf, DebugFile);
fputs(szOutput, DebugFile);
+1 -1
View File
@@ -1934,7 +1934,7 @@ void Converse( UINT8 ubNPC, UINT8 ubMerc, INT8 bApproach, UINT32 uiApproachData
SOLDIERTYPE * pNPC;
BOOLEAN fAttemptingToGiveItem;
DebugQuestInfo(String("Converse: merc<%d> to NPC <%d> %d data %d", ubMerc, ubNPC, bApproach, uiApproachData));
DebugQuestInfo(String("Converse: merc <%d> to NPC <%d> %d data %d", ubMerc, ubNPC, bApproach, uiApproachData));
// we have to record whether an item is being given in order to determine whether,
// in the case where the approach is overridden, we need to return the item to the