]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
VM_parseentitydata: parse backslash escapes
authorbones_was_here <bones_was_here@xonotic.au>
Tue, 23 Jul 2024 05:49:36 +0000 (15:49 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 23 Jul 2024 05:49:36 +0000 (15:49 +1000)
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 <bones_was_here@xonotic.au>
prvm_cmds.c

index ae1dd497be050e8fd936cb160bdd0fc18c41e723..3eb341544ebb6569466854c3d3ca2bc07c58e12a 100644 (file)
@@ -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);
 }
 
 /*