Skip to content
Snippets Groups Projects

Fix for "playdemo" not working with custom home paths

Merged Monster Iestyn requested to merge playdemo-custom-home-fix into next
All threads resolved!
+ 6
1
@@ -1452,7 +1452,12 @@ static void Command_Playdemo_f(void)
CONS_Printf(M_GetText("Playing back demo '%s'.\n"), name);
G_DoPlayDemo(name);
// Internal if no extension, external if one exists
// If external, convert the file name to a path in SRB2's home directory
if (FIL_CheckExtension(name))
+1
G_DoPlayDemo(va("%s"PATHSEP"%s", srb2home, name))
else
G_DoPlayDemo(name);
}
static void Command_Timedemo_f(void)
Loading