diff options
author | Tim Angus <tim@ngus.net> | 2003-08-31 01:18:40 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2003-08-31 01:18:40 +0000 |
commit | c7d3bd75523726fc4f5230a9c23b5f31537fc5a8 (patch) | |
tree | 5fcec7f1c10997cf640393271ae18c5522ed3c82 /src/cgame | |
parent | 703dcc641a188c128dc5acb7bfc6d7b8333bdd35 (diff) |
* Fixed hovel problems
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_players.c | 4 | ||||
-rw-r--r-- | src/cgame/cg_servercmds.c | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/cgame/cg_players.c b/src/cgame/cg_players.c index f7042456..1cce4788 100644 --- a/src/cgame/cg_players.c +++ b/src/cgame/cg_players.c @@ -1972,6 +1972,10 @@ void CG_Player( centity_t *cent ) if( !ci->infoValid ) return; + //don't draw + if( es->eFlags & EF_NODRAW ) + return; + // get the player model information renderfx = 0; if( es->number == cg.snap->ps.clientNum ) diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c index 31685518..98af076a 100644 --- a/src/cgame/cg_servercmds.c +++ b/src/cgame/cg_servercmds.c @@ -678,6 +678,12 @@ void CG_Menu( int menu ) trap_SendConsoleCommand( "menu tremulous_alien_dialog\n" ); break; + case MN_A_HOVEL_EXIT: + trap_Cvar_Set( "ui_dialog", "The exit to this Hovel will always be blocked. Please choose " + "a more suitable location." ); + trap_SendConsoleCommand( "menu tremulous_alien_dialog\n" ); + break; + case MN_A_INFEST: trap_Cvar_Set( "ui_currentClass", va( "%d %d", cg.snap->ps.stats[ STAT_PCLASS ], cg.snap->ps.persistant[ PERS_CREDIT ] ) ); |