Fix compiler warnings.

This commit is contained in:
Marco Cawthorne 2023-02-14 12:55:33 -08:00
parent 536890e013
commit 8f5ad88e68
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 99 additions and 99 deletions

View File

@ -357,42 +357,42 @@ player::PredictPreFrame(void)
{
NSClientPlayer::PredictPreFrame();
SAVE_STATE(glock_mag);
SAVE_STATE(mp5_mag);
SAVE_STATE(python_mag);
SAVE_STATE(shotgun_mag);
SAVE_STATE(crossbow_mag);
SAVE_STATE(rpg_mag);
SAVE_STATE(satchel_chg);
SAVE_STATE(cannon_mag);
SAVE_STATE(glock_mag)
SAVE_STATE(mp5_mag)
SAVE_STATE(python_mag)
SAVE_STATE(shotgun_mag)
SAVE_STATE(crossbow_mag)
SAVE_STATE(rpg_mag)
SAVE_STATE(satchel_chg)
SAVE_STATE(cannon_mag)
SAVE_STATE(ammo_9mm);
SAVE_STATE(ammo_357);
SAVE_STATE(ammo_buckshot);
SAVE_STATE(ammo_bolt);
SAVE_STATE(ammo_rocket);
SAVE_STATE(ammo_uranium);
SAVE_STATE(ammo_handgrenade);
SAVE_STATE(ammo_satchel);
SAVE_STATE(ammo_tripmine);
SAVE_STATE(ammo_snark);
SAVE_STATE(ammo_hornet);
SAVE_STATE(ammo_9mm)
SAVE_STATE(ammo_357)
SAVE_STATE(ammo_buckshot)
SAVE_STATE(ammo_bolt)
SAVE_STATE(ammo_rocket)
SAVE_STATE(ammo_uranium)
SAVE_STATE(ammo_handgrenade)
SAVE_STATE(ammo_satchel)
SAVE_STATE(ammo_tripmine)
SAVE_STATE(ammo_snark)
SAVE_STATE(ammo_hornet)
SAVE_STATE(ammo_m203_grenade);
SAVE_STATE(ammo_shotgun_state);
SAVE_STATE(ammo_gauss_state);
SAVE_STATE(ammo_gauss_volume);
SAVE_STATE(ammo_egon_state);
SAVE_STATE(ammo_rpg_state);
SAVE_STATE(mode_tempstate);
SAVE_STATE(ammo_chainsaw_state);
SAVE_STATE(ammo_hammer_state);
SAVE_STATE(ammo_m203_grenade)
SAVE_STATE(ammo_shotgun_state)
SAVE_STATE(ammo_gauss_state)
SAVE_STATE(ammo_gauss_volume)
SAVE_STATE(ammo_egon_state)
SAVE_STATE(ammo_rpg_state)
SAVE_STATE(mode_tempstate)
SAVE_STATE(ammo_chainsaw_state)
SAVE_STATE(ammo_hammer_state)
SAVE_STATE(anim_top);
SAVE_STATE(anim_top_time);
SAVE_STATE(anim_top_delay);
SAVE_STATE(anim_bottom);
SAVE_STATE(anim_bottom_time);
SAVE_STATE(anim_top)
SAVE_STATE(anim_top_time)
SAVE_STATE(anim_top_delay)
SAVE_STATE(anim_bottom)
SAVE_STATE(anim_bottom_time)
}
/*
@ -407,42 +407,42 @@ player::PredictPostFrame(void)
{
NSClientPlayer::PredictPostFrame();
ROLL_BACK(glock_mag);
ROLL_BACK(mp5_mag);
ROLL_BACK(python_mag);
ROLL_BACK(shotgun_mag);
ROLL_BACK(crossbow_mag);
ROLL_BACK(rpg_mag);
ROLL_BACK(satchel_chg);
ROLL_BACK(cannon_mag);
ROLL_BACK(glock_mag)
ROLL_BACK(mp5_mag)
ROLL_BACK(python_mag)
ROLL_BACK(shotgun_mag)
ROLL_BACK(crossbow_mag)
ROLL_BACK(rpg_mag)
ROLL_BACK(satchel_chg)
ROLL_BACK(cannon_mag)
ROLL_BACK(ammo_9mm);
ROLL_BACK(ammo_357);
ROLL_BACK(ammo_buckshot);
ROLL_BACK(ammo_bolt);
ROLL_BACK(ammo_rocket);
ROLL_BACK(ammo_uranium);
ROLL_BACK(ammo_handgrenade);
ROLL_BACK(ammo_satchel);
ROLL_BACK(ammo_tripmine);
ROLL_BACK(ammo_snark);
ROLL_BACK(ammo_hornet);
ROLL_BACK(ammo_9mm)
ROLL_BACK(ammo_357)
ROLL_BACK(ammo_buckshot)
ROLL_BACK(ammo_bolt)
ROLL_BACK(ammo_rocket)
ROLL_BACK(ammo_uranium)
ROLL_BACK(ammo_handgrenade)
ROLL_BACK(ammo_satchel)
ROLL_BACK(ammo_tripmine)
ROLL_BACK(ammo_snark)
ROLL_BACK(ammo_hornet)
ROLL_BACK(ammo_m203_grenade);
ROLL_BACK(ammo_shotgun_state);
ROLL_BACK(ammo_gauss_state);
ROLL_BACK(ammo_gauss_volume);
ROLL_BACK(ammo_egon_state);
ROLL_BACK(ammo_rpg_state);
ROLL_BACK(mode_tempstate);
ROLL_BACK(ammo_chainsaw_state);
ROLL_BACK(ammo_hammer_state);
ROLL_BACK(ammo_m203_grenade)
ROLL_BACK(ammo_shotgun_state)
ROLL_BACK(ammo_gauss_state)
ROLL_BACK(ammo_gauss_volume)
ROLL_BACK(ammo_egon_state)
ROLL_BACK(ammo_rpg_state)
ROLL_BACK(mode_tempstate)
ROLL_BACK(ammo_chainsaw_state)
ROLL_BACK(ammo_hammer_state)
ROLL_BACK(anim_top);
ROLL_BACK(anim_top_time);
ROLL_BACK(anim_top_delay);
ROLL_BACK(anim_bottom);
ROLL_BACK(anim_bottom_time);
ROLL_BACK(anim_top)
ROLL_BACK(anim_top_time)
ROLL_BACK(anim_top_delay)
ROLL_BACK(anim_bottom)
ROLL_BACK(anim_bottom_time)
}
#else
@ -519,42 +519,42 @@ player::EvaluateEntity(void)
else if (ATTR_CHANGED(ammo_hammer_state))
SendFlags |= PLAYER_AMMO3;
SAVE_STATE(glock_mag);
SAVE_STATE(mp5_mag);
SAVE_STATE(python_mag);
SAVE_STATE(shotgun_mag);
SAVE_STATE(crossbow_mag);
SAVE_STATE(rpg_mag);
SAVE_STATE(satchel_chg);
SAVE_STATE(cannon_mag);
SAVE_STATE(glock_mag)
SAVE_STATE(mp5_mag)
SAVE_STATE(python_mag)
SAVE_STATE(shotgun_mag)
SAVE_STATE(crossbow_mag)
SAVE_STATE(rpg_mag)
SAVE_STATE(satchel_chg)
SAVE_STATE(cannon_mag)
SAVE_STATE(ammo_9mm);
SAVE_STATE(ammo_357);
SAVE_STATE(ammo_buckshot);
SAVE_STATE(ammo_bolt);
SAVE_STATE(ammo_rocket);
SAVE_STATE(ammo_uranium);
SAVE_STATE(ammo_handgrenade);
SAVE_STATE(ammo_satchel);
SAVE_STATE(ammo_tripmine);
SAVE_STATE(ammo_snark);
SAVE_STATE(ammo_hornet);
SAVE_STATE(ammo_9mm)
SAVE_STATE(ammo_357)
SAVE_STATE(ammo_buckshot)
SAVE_STATE(ammo_bolt)
SAVE_STATE(ammo_rocket)
SAVE_STATE(ammo_uranium)
SAVE_STATE(ammo_handgrenade)
SAVE_STATE(ammo_satchel)
SAVE_STATE(ammo_tripmine)
SAVE_STATE(ammo_snark)
SAVE_STATE(ammo_hornet)
SAVE_STATE(ammo_m203_grenade);
SAVE_STATE(ammo_shotgun_state);
SAVE_STATE(ammo_gauss_state);
SAVE_STATE(ammo_gauss_volume);
SAVE_STATE(ammo_egon_state);
SAVE_STATE(ammo_rpg_state);
SAVE_STATE(mode_tempstate);
SAVE_STATE(ammo_chainsaw_state);
SAVE_STATE(ammo_hammer_state);
SAVE_STATE(ammo_m203_grenade)
SAVE_STATE(ammo_shotgun_state)
SAVE_STATE(ammo_gauss_state)
SAVE_STATE(ammo_gauss_volume)
SAVE_STATE(ammo_egon_state)
SAVE_STATE(ammo_rpg_state)
SAVE_STATE(mode_tempstate)
SAVE_STATE(ammo_chainsaw_state)
SAVE_STATE(ammo_hammer_state)
SAVE_STATE(anim_top);
SAVE_STATE(anim_top_time);
SAVE_STATE(anim_top_delay);
SAVE_STATE(anim_bottom);
SAVE_STATE(anim_bottom_time);
SAVE_STATE(anim_top)
SAVE_STATE(anim_top_time)
SAVE_STATE(anim_top_delay)
SAVE_STATE(anim_bottom)
SAVE_STATE(anim_bottom_time)
}
/*