From c266d996f7f885a570ea6b1f77caa52cd6184ef7 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Wed, 4 Apr 2012 22:39:12 +0300 Subject: [PATCH] Some code comments, and disable the mutator by default. Considered finished and up for testing --- defaultXonotic.cfg | 2 +- qcsrc/server/mutators/mutator_physical_items.qc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 5e7d41eea4..1f74617f77 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1387,7 +1387,7 @@ alias sethostname "set menu_use_default_hostname 0; hostname $*" set sv_foginterval 1 "force enable fog in regular intervals" -set g_ode_items 2 "1 uses ODE physics for dropped weapons, 2 for all items, requires physics_ode to be enabled" +set g_ode_items 0 "1 uses ODE physics for dropped weapons, 2 for all items, requires physics_ode to be enabled" set g_ode_items_damageforcescale 3 "how affected physical weapons are by damage" set g_ode_items_reset 1 "return map items to their original lotation after being picked up" diff --git a/qcsrc/server/mutators/mutator_physical_items.qc b/qcsrc/server/mutators/mutator_physical_items.qc index 7c39772aed..2066113fc5 100644 --- a/qcsrc/server/mutators/mutator_physical_items.qc +++ b/qcsrc/server/mutators/mutator_physical_items.qc @@ -6,7 +6,7 @@ void physical_item_think() self.alpha = self.owner.alpha; // apply fading and ghosting - if(!self.cnt) // map item, not dropped weapon + if(!self.cnt) // map item, not dropped { // copy ghost item properties self.colormap = self.owner.colormap; @@ -32,7 +32,7 @@ void physical_item_think() } if(!self.owner.modelindex) - remove(self); // the real weapon is gone, remove this + remove(self); // the real item is gone, remove this } void physical_item_touch() -- 2.39.2