]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix some warnings
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 13 Nov 2010 09:02:45 +0000 (09:02 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 13 Nov 2010 09:02:45 +0000 (09:02 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10590 d7cf8633-e32d-0410-b094-e92efae38249

world.c

diff --git a/world.c b/world.c
index d74f58ccceb5c7114b16a778d770d7b0990e39c6..adc9558788b645501aa0114e6e06f372cfcf9dc6 100644 (file)
--- 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;