From: Mario Date: Thu, 29 Aug 2013 11:44:54 +0000 (+1000) Subject: Fix bad use of w_shotorg X-Git-Tag: xonotic-v0.8.0~241^2^2~141 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=094cb81be3300042382a3e98b68a5e50db7469f9;p=xonotic%2Fxonotic-data.pk3dir.git Fix bad use of w_shotorg --- diff --git a/qcsrc/common/monsters/monster/mage.qc b/qcsrc/common/monsters/monster/mage.qc index 19d7b116d..c37d38ff7 100644 --- a/qcsrc/common/monsters/monster/mage.qc +++ b/qcsrc/common/monsters/monster/mage.qc @@ -135,7 +135,7 @@ void mage_throw_itemgrenade() gren.movetype = MOVETYPE_BOUNCE; gren.solid = SOLID_TRIGGER; gren.projectiledeathtype = DEATH_MONSTER_MAGE; - setorigin(gren, w_shotorg); + setorigin(gren, CENTER_OR_VIEWOFS(self)); setsize(gren, '-64 -64 -64', '64 64 64'); gren.nextthink = time + MON_CVAR(mage, attack_grenade_lifetime);