mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-05 01:38:13 +00:00
devmode replay: show demo format version
This commit is contained in:
parent
4d4f6f3bdd
commit
2cb62c8663
2 changed files with 3 additions and 1 deletions
|
|
@ -2185,6 +2185,8 @@ void G_BeginRecording(void)
|
|||
WRITEUINT8(demobuf.p,SUBVERSION);
|
||||
WRITEUINT16(demobuf.p,DEMOVERSION);
|
||||
|
||||
demo.version = DEMOVERSION;
|
||||
|
||||
// Full replay title
|
||||
demobuf.p += 64;
|
||||
{
|
||||
|
|
|
|||
|
|
@ -471,7 +471,7 @@ static void ST_drawDemoDebug(INT32 *height)
|
|||
avg * TICRATE / 1024.0,
|
||||
(size - needle) / (avg * TICRATE * 60.0)
|
||||
));
|
||||
ST_pushDebugString(height, va("Demo (%s)", demo.recording ? "recording" : "playback"));
|
||||
ST_pushDebugString(height, va("Demo %04x (%s)", demo.version, demo.recording ? "recording" : "playback"));
|
||||
}
|
||||
|
||||
void ST_drawDebugInfo(void)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue