From 84e75ec07a5027e76726bc28073438d8c9a8d04a Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Fri, 12 Sep 2003 04:36:26 +0000 Subject: * Removed the func_door_model auto scaling and positioning code - it didn't work * Added the server side stuff for the hive --- src/game/g_weapon.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/game/g_weapon.c') diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c index 2590503e..fd44840c 100644 --- a/src/game/g_weapon.c +++ b/src/game/g_weapon.c @@ -212,6 +212,23 @@ void lockBlobLauncherFire( gentity_t *ent ) /* ====================================================================== +HIVE + +====================================================================== +*/ + +void hiveFire( gentity_t *ent ) +{ + gentity_t *m; + + m = fire_hive( ent, muzzle, forward ); + +// VectorAdd( m->s.pos.trDelta, ent->client->ps.velocity, m->s.pos.trDelta ); // "real" physics +} + +/* +====================================================================== + BLASTER PISTOL ====================================================================== @@ -1101,6 +1118,9 @@ void FireWeapon( gentity_t *ent ) case WP_LOCKBLOB_LAUNCHER: lockBlobLauncherFire( ent ); break; + case WP_HIVE: + hiveFire( ent ); + break; case WP_TESLAGEN: teslaFire( ent ); break; -- cgit