From 39304d7cbea7c510aa49a395148dd43302cc60ab Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 5 Aug 2012 23:24:06 +0000 Subject: [PATCH] relax PRVM_EDICT_NUM error checking on saving a savegame so that honey.bsp can save game git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11839 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=c5664b1f0d364af4660151dc1e5d1b5962c3fbae --- prvm_edict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prvm_edict.c b/prvm_edict.c index 30a92618..4de128b2 100644 --- a/prvm_edict.c +++ b/prvm_edict.c @@ -512,7 +512,7 @@ char *PRVM_UglyValueString (prvm_prog_t *prog, etype_t type, prvm_eval_t *val, c line[i] = '\0'; break; case ev_entity: - dpsnprintf (line, linelength, "%i", PRVM_NUM_FOR_EDICT(PRVM_PROG_TO_EDICT(val->edict))); + dpsnprintf (line, linelength, "%i", val->edict); break; case ev_function: f = prog->functions + val->function; -- 2.39.2