diff options
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r-- | src/game/g_weapon.c | 20 |
1 files changed, 20 insertions, 0 deletions
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; |