mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
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:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user