From: havoc Date: Sat, 13 Nov 2010 09:02:45 +0000 (+0000) Subject: fix some warnings X-Git-Tag: xonotic-v0.1.0preview~56^2~27 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9c5d11b0aa51204ef2d652037b061548f879dff4;p=xonotic%2Fdarkplaces.git fix some warnings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10590 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/world.c b/world.c index d74f58cc..adc95587 100644 --- a/world.c +++ b/world.c @@ -1958,6 +1958,8 @@ static void World_Physics_Frame_BodyFromEntity(world_t *world, prvm_edict_t *ed) if (!ode_dll) return; #endif + VectorClear(entmins); + VectorClear(entmaxs); val = PRVM_EDICTFIELDVALUE(ed, prog->fieldoffsets.solid);if (val) solid = (int)val->_float; val = PRVM_EDICTFIELDVALUE(ed, prog->fieldoffsets.movetype);if (val) movetype = (int)val->_float; val = PRVM_EDICTFIELDVALUE(ed, prog->fieldoffsets.scale);if (val && val->_float) scale = val->_float;