|
|
|
@ -36,7 +36,7 @@ extern globalvars_t *gpGlobals;
@@ -36,7 +36,7 @@ extern globalvars_t *gpGlobals;
|
|
|
|
|
extern int g_iUser1; |
|
|
|
|
|
|
|
|
|
// Pool of client side entities/entvars_t
|
|
|
|
|
static entvars_t ev[32]; |
|
|
|
|
static entvars_t ev[MAX_WEAPONS]; |
|
|
|
|
static int num_ents = 0; |
|
|
|
|
|
|
|
|
|
// The entity we'll use to represent the local client
|
|
|
|
@ -45,7 +45,7 @@ static CBasePlayer player;
@@ -45,7 +45,7 @@ static CBasePlayer player;
|
|
|
|
|
// Local version of game .dll global variables ( time, etc. )
|
|
|
|
|
static globalvars_t Globals; |
|
|
|
|
|
|
|
|
|
static CBasePlayerWeapon *g_pWpns[32]; |
|
|
|
|
static CBasePlayerWeapon *g_pWpns[MAX_WEAPONS]; |
|
|
|
|
|
|
|
|
|
float g_flApplyVel = 0.0; |
|
|
|
|
int g_irunninggausspred = 0; |
|
|
|
@ -752,7 +752,7 @@ void HUD_WeaponsPostThink( local_state_s *from, local_state_s *to, usercmd_t *cm
@@ -752,7 +752,7 @@ void HUD_WeaponsPostThink( local_state_s *from, local_state_s *to, usercmd_t *cm
|
|
|
|
|
if( !pWeapon ) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
for( i = 0; i < 32; i++ ) |
|
|
|
|
for( i = 0; i < MAX_WEAPONS; i++ ) |
|
|
|
|
{ |
|
|
|
|
pCurrent = g_pWpns[i]; |
|
|
|
|
if( !pCurrent ) |
|
|
|
@ -921,7 +921,7 @@ void HUD_WeaponsPostThink( local_state_s *from, local_state_s *to, usercmd_t *cm
@@ -921,7 +921,7 @@ void HUD_WeaponsPostThink( local_state_s *from, local_state_s *to, usercmd_t *cm
|
|
|
|
|
HUD_SendWeaponAnim( to->client.weaponanim, body, 1 ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
for( i = 0; i < 32; i++ ) |
|
|
|
|
for( i = 0; i < MAX_WEAPONS; i++ ) |
|
|
|
|
{ |
|
|
|
|
pCurrent = g_pWpns[i]; |
|
|
|
|
|
|
|
|
|