Skip to content

Commit fcee914

Browse files
committed
- cutscene recorder - add ping count display
1 parent b137cc3 commit fcee914

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

src_rebuild/Game/C/cutrecorder.c

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,20 @@ void CutRec_Draw()
200200
PrintString(text, 5, 215);
201201
}
202202

203-
if (gAutoTestStats[gCutsceneChaseAutoTest].numHitCars > 0)
203+
if(PingBufferPos >= MAX_REPLAY_PINGS-1)
204204
SetTextColour(128, 0, 0);
205205

206-
sprintf(text, "Hit cars: %d", gAutoTestStats[gCutsceneChaseAutoTest].numHitCars);
206+
sprintf(text, "Pings: %d", PingBufferPos);
207207
PrintString(text, 5, 205);
208208

209+
SetTextColour(128, 128, 128);
210+
211+
if (gAutoTestStats[gCutsceneChaseAutoTest].numHitCars > 0)
212+
SetTextColour(128, 0, 0);
213+
214+
sprintf(text, "Hit cars: %d", gAutoTestStats[gCutsceneChaseAutoTest].numHitCars);
215+
PrintString(text, 120, 205);
216+
209217
if(gAutoTestStats[gCutsceneChaseAutoTest].stuck)
210218
{
211219
SetTextColour(128, 0, 0);

0 commit comments

Comments
 (0)