From: Mircea Kitsune Date: Wed, 4 Apr 2012 19:39:12 +0000 (+0300) Subject: Some code comments, and disable the mutator by default. Considered finished and up... X-Git-Tag: xonotic-v0.7.0~111^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c266d996f7f885a570ea6b1f77caa52cd6184ef7;p=xonotic%2Fxonotic-data.pk3dir.git Some code comments, and disable the mutator by default. Considered finished and up for testing --- 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()