]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix an unused variable warning caused by USEODE
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 28 Jul 2013 00:10:50 +0000 (00:10 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 28 Jul 2013 00:10:50 +0000 (00:10 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11987 d7cf8633-e32d-0410-b094-e92efae38249

world.c

diff --git a/world.c b/world.c
index 4fe5fcf5db9595b59fea887651eb9e1a795a4e77..60bd0937728f7a5e6275c8281bdcd4adca5cf17d 100644 (file)
--- a/world.c
+++ b/world.c
@@ -3012,8 +3012,8 @@ static void nearCallback (void *data, dGeomID o1, dGeomID o2)
 
 void World_Physics_Frame(world_t *world, double frametime, double gravity)
 {
-       prvm_prog_t *prog = world->prog;
 #ifdef USEODE
+       prvm_prog_t *prog = world->prog;
        double tdelta, tdelta2, tdelta3, simulationtime, collisiontime;
 
        tdelta = Sys_DirtyTime();