diff options
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r-- | src/game/g_weapon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c index f5a118fa..5230d982 100644 --- a/src/game/g_weapon.c +++ b/src/game/g_weapon.c @@ -1536,6 +1536,10 @@ void FireWeapon( gentity_t *ent ) { AngleVectors( ent->turretAim, forward, right, up ); VectorCopy( ent->s.pos.trBase, muzzle ); + + // Hive muzzle point is on the tip + if( ent->s.eType == ET_BUILDABLE && ent->s.modelindex == BA_A_HIVE ) + VectorMA( muzzle, ent->r.maxs[ 2 ], ent->s.origin2, muzzle ); } // fire the specific weapon |