From: divverent Date: Sat, 24 Oct 2009 12:30:31 +0000 (+0000) Subject: add a missing VectorClear X-Git-Tag: xonotic-v0.1.0preview~1244 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=a40f09de65f85556fdccca2be374f4ded2c7e239 add a missing VectorClear git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9394 d7cf8633-e32d-0410-b094-e92efae38249 --- 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;