diff options
author | Tim Angus <tim@ngus.net> | 2001-12-30 02:20:36 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-12-30 02:20:36 +0000 |
commit | 969f12211fb141c6e7b68c662294002a177dc386 (patch) | |
tree | 81a5775900668b9147621e8405c9cd993a048a9e /src/game/g_misc.c | |
parent | 8b42b0ff0714ff211801a7c7ec57197c1576884f (diff) |
bg_itemlist is dead. Yay
Diffstat (limited to 'src/game/g_misc.c')
-rw-r--r-- | src/game/g_misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_misc.c b/src/game/g_misc.c index 29583b64..77960646 100644 --- a/src/game/g_misc.c +++ b/src/game/g_misc.c @@ -264,14 +264,14 @@ void Use_Shooter( gentity_t *ent, gentity_t *other, gentity_t *activator ) { VectorNormalize( dir ); - switch ( ent->s.weapon ) { +/* switch ( ent->s.weapon ) { case WP_GRENADE_LAUNCHER: fire_grenade( ent, ent->s.origin, dir ); break; case WP_ROCKET_LAUNCHER: fire_rocket( ent, ent->s.origin, dir ); break; - } + }*/ G_AddEvent( ent, EV_FIRE_WEAPON, 0 ); } @@ -287,7 +287,7 @@ void InitShooter( gentity_t *ent, int weapon ) { ent->use = Use_Shooter; ent->s.weapon = weapon; - RegisterItem( BG_FindItemForWeapon( weapon ) ); + /*RegisterItem( BG_FindItemForWeapon( weapon ) );*/ G_SetMovedir( ent->s.angles, ent->movedir ); |