From dedb64cda2fe3150db6416ddf4f6e2a601531cad Mon Sep 17 00:00:00 2001 From: Cloudwalk Date: Fri, 21 Aug 2020 07:21:03 -0400 Subject: [PATCH] cl_demo: Use Cbuf_InsertText to start a map for a demo --- cl_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_demo.c b/cl_demo.c index 5acbaa4e..e7dcc7e0 100644 --- a/cl_demo.c +++ b/cl_demo.c @@ -382,7 +382,7 @@ void CL_Record_f(cmd_state_t *cmd) // start the map up if (c > 2) - Cmd_ExecuteString ( cmd, va(vabuf, sizeof(vabuf), "map %s", Cmd_Argv(cmd, 2)), src_command, false); + Cbuf_InsertText( cmd, va(vabuf, sizeof(vabuf), "map %s", Cmd_Argv(cmd, 2))); // open the demo file Con_Printf("recording to %s.\n", name); -- 2.39.2