From: Mircea Kitsune Date: Wed, 4 Apr 2012 19:47:59 +0000 (+0300) Subject: Properly check the physics engine X-Git-Tag: xonotic-v0.7.0~111^2~4 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=46180becda38cac61d15a5168380b2784a21336f;p=xonotic%2Fxonotic-data.pk3dir.git Properly check the physics engine --- diff --git a/qcsrc/server/mutators/mutator_physical_items.qc b/qcsrc/server/mutators/mutator_physical_items.qc index 2066113fc..9dcab5b2e 100644 --- a/qcsrc/server/mutators/mutator_physical_items.qc +++ b/qcsrc/server/mutators/mutator_physical_items.qc @@ -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);