From: bones_was_here Date: Tue, 23 Jul 2024 05:49:36 +0000 (+1000) Subject: VM_parseentitydata: parse backslash escapes X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9c29f2ace43f4b6c76b2d66ad3e0f265d30ea1c9;p=xonotic%2Fdarkplaces.git 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 --- 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); } /*