diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/bg_public.h | 3 | ||||
-rw-r--r-- | src/game/g_active.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h index 1fa36ca..28a4fa7 100644 --- a/src/game/bg_public.h +++ b/src/game/bg_public.h @@ -299,7 +299,8 @@ typedef enum // player_state->misc[] indexes typedef enum { - MISC_INFOHEAD, + MISC_POWER_NETWORK, + MISC_PROBE_ENTITY, MISC_INFO1, MISC_INFO2, MISC_INFO3, diff --git a/src/game/g_active.c b/src/game/g_active.c index c21eec0..73e9962 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -811,7 +811,8 @@ void ClientTimerActions( gentity_t *ent, int msec ) } } - client->ps.misc[ MISC_INFOHEAD ] = ( head_network & 1023 ) | ( head_entity & 1023 ) << 10; + client->ps.misc[ MISC_POWER_NETWORK ] = head_network; + client->ps.misc[ MISC_PROBE_ENTITY ] = head_entity; } } |