Fix compiler warnings.

This commit is contained in:
Marco Cawthorne 2023-02-14 12:54:45 -08:00
parent 07453056a4
commit 9f9dd78458
Signed by: eukara
GPG key ID: CE2032F0A2882A22
3 changed files with 3 additions and 3 deletions

View file

@ -596,7 +596,7 @@ player::EvaluateEntity(void)
EVALUATE_FIELD(anim_top, PLAYER_TOPFRAME);
EVALUATE_FIELD(anim_top_time, PLAYER_TOPFRAME);
EVALUATE_FIELD(anim_top_delay, PLAYER_TOPFRAME );
EVALUATE_FIELD(anim_top_delay, PLAYER_TOPFRAME);
EVALUATE_FIELD(anim_bottom, PLAYER_BOTTOMFRAME);
EVALUATE_FIELD(anim_bottom_time, PLAYER_BOTTOMFRAME);

View file

@ -348,7 +348,6 @@ void
w_crossbow_crosshair(player pl)
{
#ifdef CLIENT
vector cross_pos;
vector aicon_pos;
if (pl.viewzoom == 1) {

View file

@ -57,10 +57,11 @@ void w_gauss_precache(void)
precache_sound("weapons/gauss2.wav");
Sound_Precache("weapon_gauss.empty");
#else
precache_sound("ambience/pulsemachine.wav");
precache_model("models/v_gauss.mdl");
precache_model("models/p_gauss.mdl");
#endif
precache_sound("ambience/pulsemachine.wav");
}
void w_gauss_updateammo(player pl)
{