diff options
Diffstat (limited to 'src/cgame')
| -rw-r--r-- | src/cgame/cg_event.c | 5 | ||||
| -rw-r--r-- | src/cgame/cg_view.c | 2 | 
2 files changed, 5 insertions, 2 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c index 06cd169e..49f54df5 100644 --- a/src/cgame/cg_event.c +++ b/src/cgame/cg_event.c @@ -434,6 +434,7 @@ void CG_Menu( int eventParm )      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_BANK:     trap_SendConsoleCommand( "menu tremulous_humanbank\n" );                  break; +    case MN_A_OBANK:    trap_SendConsoleCommand( "menu tremulous_alienbank\n" );                  break;      case MN_H_NOROOM:   trap_SendConsoleCommand( "menu tremulous_human_no_room\n" );              break;      case MN_H_NOPOWER:  trap_SendConsoleCommand( "menu tremulous_human_no_power\n" );             break;      case MN_A_NOROOM:   trap_SendConsoleCommand( "menu tremulous_alien_no_room\n" );              break; @@ -450,9 +451,11 @@ void CG_Menu( int eventParm )      case MN_H_RPTWARN:  trap_SendConsoleCommand( "menu tremulous_human_repeater_warning\n" );     break;      case MN_H_NOSLOTS:  trap_SendConsoleCommand( "menu tremulous_human_no_slots\n" );             break;      case MN_H_NOFUNDS:  trap_SendConsoleCommand( "menu tremulous_human_no_funds\n" );             break; +    case MN_A_NOFUNDS:  trap_SendConsoleCommand( "menu tremulous_alien_no_funds\n" );             break;      case MN_H_ITEMHELD: trap_SendConsoleCommand( "menu tremulous_human_item_held\n" );            break;      case MN_A_INFEST: -      trap_Cvar_Set( "ui_currentClass", va( "%d", cg.snap->ps.stats[ STAT_PCLASS ] ) ); +      trap_Cvar_Set( "ui_currentClass", va( "%d %d",  cg.snap->ps.stats[ STAT_PCLASS ], +                                                      cg.snap->ps.stats[ STAT_CREDIT ] ) );        trap_SendConsoleCommand( "menu tremulous_alienupgrade\n" );        break; diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c index 714aedbe..489faa37 100644 --- a/src/cgame/cg_view.c +++ b/src/cgame/cg_view.c @@ -1203,7 +1203,7 @@ void CG_DrawActiveFrame( int serverTime, stereoFrame_t stereoView, qboolean demo    if( cg.predictedPlayerState.stats[ STAT_PTEAM ] == PTE_ALIENS &&        cg.predictedPlayerState.persistant[PERS_TEAM] != TEAM_SPECTATOR ) -    trap_R_AddAdditiveLightToScene( cg.predictedPlayerState.origin, 500, 0.07f, 0.07f, 0.07f ); +    trap_R_AddAdditiveLightToScene( cg.predictedPlayerState.origin, 2000, 0.02f, 0.00f, 0.00f );    // actually issue the rendering calls    CG_DrawActive( stereoView );  | 
