From 2fab686be80d997ed9152d6370a4a97f0c4d2d19 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Wed, 4 Apr 2012 22:23:41 +0300 Subject: [PATCH] Rename physical_weapons to physical_items --- qcsrc/server/miscfunctions.qc | 2 +- .../{mutator_physical_weapons.qc => mutator_physical_items.qc} | 2 +- qcsrc/server/mutators/mutators.qh | 2 +- qcsrc/server/progs.src | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename qcsrc/server/mutators/{mutator_physical_weapons.qc => mutator_physical_items.qc} (98%) diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index 0608977e8a..71ae10b122 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -1079,7 +1079,7 @@ void readlevelcvars(void) if(cvar("g_spawn_near_teammate")) MUTATOR_ADD(mutator_spawn_near_teammate); if(cvar("g_ode_items")) - MUTATOR_ADD(mutator_physical_weapons); + MUTATOR_ADD(mutator_physical_items); // is this a mutator? is this a mode? if(cvar("g_sandbox")) diff --git a/qcsrc/server/mutators/mutator_physical_weapons.qc b/qcsrc/server/mutators/mutator_physical_items.qc similarity index 98% rename from qcsrc/server/mutators/mutator_physical_weapons.qc rename to qcsrc/server/mutators/mutator_physical_items.qc index 3bf1c53596..e362b11f41 100644 --- a/qcsrc/server/mutators/mutator_physical_weapons.qc +++ b/qcsrc/server/mutators/mutator_physical_items.qc @@ -87,7 +87,7 @@ MUTATOR_HOOKFUNCTION(item_spawning) return FALSE; } -MUTATOR_DEFINITION(mutator_physical_weapons) +MUTATOR_DEFINITION(mutator_physical_items) { if(!autocvar_physics_ode) return FALSE; diff --git a/qcsrc/server/mutators/mutators.qh b/qcsrc/server/mutators/mutators.qh index 072e652fff..4d019eec00 100644 --- a/qcsrc/server/mutators/mutators.qh +++ b/qcsrc/server/mutators/mutators.qh @@ -10,6 +10,6 @@ MUTATOR_DECLARATION(mutator_rocketflying); MUTATOR_DECLARATION(mutator_vampire); MUTATOR_DECLARATION(mutator_spawn_near_teammate); MUTATOR_DECLARATION(mutator_spawn_near_teammate); -MUTATOR_DECLARATION(mutator_physical_weapons); +MUTATOR_DECLARATION(mutator_physical_items); MUTATOR_DECLARATION(sandbox); diff --git a/qcsrc/server/progs.src b/qcsrc/server/progs.src index 92f9fa6a21..d8210e7706 100644 --- a/qcsrc/server/progs.src +++ b/qcsrc/server/progs.src @@ -215,7 +215,7 @@ mutators/mutator_dodging.qc mutators/mutator_rocketflying.qc mutators/mutator_vampire.qc mutators/mutator_spawn_near_teammate.qc -mutators/mutator_physical_weapons.qc +mutators/mutator_physical_items.qc mutators/sandbox.qc ../warpzonelib/anglestransform.qc -- 2.39.2