From 5810b5bfa8cb146a1412d944d375e9d6cc16834a Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Tue, 23 Jul 2024 15:49:36 +1000 Subject: [PATCH] VM_parseentitydata: parse backslash escapes Because VM_writetofile() will include them by calling the same code as SV_Savegame_to(). Missed this in 312123ecffc7e3dd892c7df754c911b47b9cdfaa. Signed-off-by: bones_was_here --- prvm_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prvm_cmds.c b/prvm_cmds.c index ae1dd497..3eb34154 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -3069,7 +3069,7 @@ void VM_parseentitydata(prvm_prog_t *prog) if (!COM_ParseToken_Simple(&data, false, false, true) || com_token[0] != '{' ) prog->error_cmd("VM_parseentitydata: %s: Couldn't parse entity data:\n%s", prog->name, data ); - PRVM_ED_ParseEdict (prog, data, ent, false); + PRVM_ED_ParseEdict(prog, data, ent, true); } /* -- 2.39.2