Skip to content

Commit

Permalink
VM_parseentitydata: parse backslash escapes
Browse files Browse the repository at this point in the history
Because VM_writetofile() will include them by calling the same code as
SV_Savegame_to().
Missed this in 312123e.

Signed-off-by: bones_was_here <[email protected]>
  • Loading branch information
bones-was-here committed Jul 23, 2024
1 parent 185581b commit 9c29f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prvm_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/*
Expand Down

0 comments on commit 9c29f2a

Please sign in to comment.