From a40f09de65f85556fdccca2be374f4ded2c7e239 Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 24 Oct 2009 12:30:31 +0000 Subject: [PATCH] add a missing VectorClear git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9394 d7cf8633-e32d-0410-b094-e92efae38249 --- world.c | 1 + 1 file changed, 1 insertion(+) diff --git a/world.c b/world.c index 73508152..779fc77a 100644 --- a/world.c +++ b/world.c @@ -1739,6 +1739,7 @@ static void World_Physics_Frame_JointFromEntity(world_t *world, prvm_edict_t *ed VectorClear(origin); VectorClear(velocity); VectorClear(angles); + VectorClear(movedir); val = PRVM_EDICTFIELDVALUE(ed, prog->fieldoffsets.movetype);if (val) movetype = (int)val->_float; val = PRVM_EDICTFIELDVALUE(ed, prog->fieldoffsets.jointtype);if (val) jointtype = (int)val->_float; val = PRVM_EDICTFIELDVALUE(ed, prog->fieldoffsets.enemy);if (val) enemy = val->_int; -- 2.39.2