From 6914302f2f1a7c6849604ace4967e39bf32ff0e6 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 20 Oct 2009 09:47:06 +0000 Subject: [PATCH] fix two pointer bugs in ODE code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9358 d7cf8633-e32d-0410-b094-e92efae38249 --- world.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/world.c b/world.c index 9db8a11c..e287c6b3 100644 --- a/world.c +++ b/world.c @@ -1442,7 +1442,7 @@ static void World_Physics_Init(void) # else Con_Printf("ode library not compiled for double precision - incompatible! Not using ODE physics.\n"); # endif - Sys_UnloadLibrary(ode_dll); + Sys_UnloadLibrary(&ode_dll); ode_dll = NULL; } #endif @@ -1459,7 +1459,7 @@ static void World_Physics_Shutdown(void) { dCloseODE(); #ifndef ODE_STATIC - Sys_UnloadLibrary(ode_dll); + Sys_UnloadLibrary(&ode_dll); ode_dll = NULL; #endif } -- 2.39.2