a
This commit is contained in:
1 parent
c45a792ef9
commit
2be07aee63
1 file changed
+1
-2
+1
-2
@@ -6283,14 +6283,13 @@ void G_BeginRecording(void)
|
||||
char demotitlename[65];
|
||||
|
||||
// Print to a separate temp buffer instead of demo.titlename, so we can use it in M_TextInputSetString
|
||||
snprintf(demotitlename, 64, "%s - %s", title, modeattacking ? "Time Attack" : connectedservername);
|
||||
snprintf(demotitlename, 64, "%s - %s", maptitle, modeattacking ? "Time Attack" : connectedservername);
|
||||
|
||||
// Init just in case it isn't initialized already
|
||||
M_TextInputInit(&demo.titlenameinput, demo.titlename, sizeof(demo.titlename));
|
||||
|
||||
// This will indirectly assign to demo.titlename too
|
||||
M_TextInputSetString(&demo.titlenameinput, demotitlename);
|
||||
snprintf(demo.titlename, 64, "%s - %s", maptitle, modeattacking ? "Time Attack" : connectedservername);
|
||||
}
|
||||
|
||||
// demo checksum
|
||||
|
||||
Reference in new issue
Block a user