From a7204e2f520d5d5b06302923ac7c359066401f04 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 28 Feb 2012 11:52:14 +0000 Subject: [PATCH] fix a stupid type error. Why doesn't PRVM_EDICT_NUM(prvm_edict_t *) warn?!? git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11737 d7cf8633-e32d-0410-b094-e92efae38249 --- clvm_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clvm_cmds.c b/clvm_cmds.c index 14f27bf3..d03b632e 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -1475,7 +1475,7 @@ static void VM_CL_runplayerphysics (prvm_prog_t *prog) else { // new use - s.self = PRVM_PROG_TO_EDICT(ent); + s.self = ent; VectorCopy(PRVM_clientedictvector(ent, origin), s.origin); VectorCopy(PRVM_clientedictvector(ent, velocity), s.velocity); VectorCopy(PRVM_clientedictvector(ent, mins), s.mins); -- 2.39.2