diff options
author | Tim Angus <tim@ngus.net> | 2003-09-12 04:36:26 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2003-09-12 04:36:26 +0000 |
commit | 84e75ec07a5027e76726bc28073438d8c9a8d04a (patch) | |
tree | e989a56316db265b02a99840cf478f1e982ec4b4 /src/game/g_weapon.c | |
parent | d8ed915000aef140bbe4bd22020acced5eae654f (diff) |
* Removed the func_door_model auto scaling and positioning code - it didn't work
* Added the server side stuff for the hive
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; |