summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-09-19 02:53:45 +0000
committerTim Angus <tim@ngus.net>2002-09-19 02:53:45 +0000
commitc68036fca83b760953eff59d09fe4b46d59657c8 (patch)
treec14ce716c25c99916230e9c40bdbfc959bcaeaae /src/cgame
parenta14947099cc8c2d90e9beed601daa45714303a8d (diff)
* Cleaned up redundant events
* Fixed "buildable blocking door" bug * Renamed MCU to Armoury * A few whitespace fixes
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_event.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c
index 98337c45..65873f7f 100644
--- a/src/cgame/cg_event.c
+++ b/src/cgame/cg_event.c
@@ -306,12 +306,12 @@ void CG_Menu( int eventParm )
*carriageCvar = 0;
//determine what the player is carrying
- for( i = WP_NONE +1; i < WP_NUM_WEAPONS; i++ )
+ for( i = WP_NONE + 1; i < WP_NUM_WEAPONS; i++ )
{
if( BG_gotWeapon( i, cg.snap->ps.stats ) )
strcat( carriageCvar, va( "W%d ", i ) );
}
- for( i = UP_NONE +1; i < UP_NUM_UPGRADES; i++ )
+ for( i = UP_NONE + 1; i < UP_NUM_UPGRADES; i++ )
{
if( BG_gotItem( i, cg.snap->ps.stats ) )
strcat( carriageCvar, va( "U%d ", i ) );
@@ -329,7 +329,7 @@ void CG_Menu( int eventParm )
case MN_H_SPAWN: trap_SendConsoleCommand( "menu tremulous_humanitem\n" ); break;
case MN_A_BUILD: trap_SendConsoleCommand( "menu tremulous_alienbuild\n" ); break;
case MN_H_BUILD: trap_SendConsoleCommand( "menu tremulous_humanbuild\n" ); break;
- case MN_H_MCU: trap_SendConsoleCommand( "menu tremulous_humanmcu\n" ); break;
+ case MN_H_ARMOURY: trap_SendConsoleCommand( "menu tremulous_humanarmoury\n" ); break;
case MN_H_BANK: trap_SendConsoleCommand( "menu tremulous_humanbank\n" ); break;
case MN_A_OBANK: trap_SendConsoleCommand( "menu tremulous_alienbank\n" ); break;
@@ -703,18 +703,6 @@ void CG_EntityEvent( centity_t *cent, vec3_t position )
trap_S_StartSound( NULL, es->number, CHAN_AUTO, CG_CustomSound( es->number, "*gasp.wav" ) );
break;
- case EV_ITEM_PICKUP:
- DEBUGNAME( "EV_ITEM_PICKUP" );
- {
- }
- break;
-
- case EV_GLOBAL_ITEM_PICKUP:
- DEBUGNAME( "EV_GLOBAL_ITEM_PICKUP" );
- {
- }
- break;
-
//
// weapon events
//