]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Properly check the physics engine
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 4 Apr 2012 19:47:59 +0000 (22:47 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 4 Apr 2012 19:47:59 +0000 (22:47 +0300)
qcsrc/server/mutators/mutator_physical_items.qc

index 2066113fc59ef03c870126e9d24791285d5dabc5..9dcab5b2e276cc726aad648ac48eb8d79e6544c3 100644 (file)
@@ -100,7 +100,7 @@ MUTATOR_HOOKFUNCTION(item_spawning)
 
 MUTATOR_DEFINITION(mutator_physical_items)
 {
-       if(!autocvar_physics_ode)
+       if not(autocvar_physics_ode && checkextension("DP_PHYSICS_ODE"))
                return FALSE;
 
        MUTATOR_HOOK(Item_Spawn, item_spawning, CBC_ORDER_ANY);