diff options
author | Tim Angus <tim@ngus.net> | 2001-02-02 02:05:01 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-02-02 02:05:01 +0000 |
commit | a08a8afb56a82cff489f82cdec1b802c76d0326e (patch) | |
tree | 5ac6c7fe67453222a9632684ef9f5ad2dc965c26 /src/cgame/cg_event.c | |
parent | 4506d6a566309f62eb3db1bcf0d8b9a4fc4eaa1d (diff) |
Changed model precache system. A steaming pile of transnetwork bugfixes.
Diffstat (limited to 'src/cgame/cg_event.c')
-rw-r--r-- | src/cgame/cg_event.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c index 42ac22da..d5f30cb4 100644 --- a/src/cgame/cg_event.c +++ b/src/cgame/cg_event.c @@ -419,7 +419,7 @@ void CG_PainEvent( centity_t *cent, int health ) { CG_Menu ============== */ -void CG_Menu( centity_t *cent, int eventParm ) +void CG_Menu( int eventParm ) { switch( eventParm ) { @@ -448,7 +448,7 @@ void CG_Menu( centity_t *cent, int eventParm ) break; default: - Com_Printf( "cgame: debug: no such menu no %d\n", eventParm ); + Com_Printf( "cgame: debug: no such menu %d\n", eventParm ); } } @@ -981,7 +981,8 @@ void CG_EntityEvent( centity_t *cent, vec3_t position ) { case EV_MENU: DEBUGNAME("EV_MENU"); - CG_Menu( cent, es->eventParm ); + if( es->number == cg.clientNum ) + CG_Menu( es->eventParm ); break; default: |