diff --git a/engine/client/merged.h b/engine/client/merged.h index 5f4835a9f..e68641561 100644 --- a/engine/client/merged.h +++ b/engine/client/merged.h @@ -111,7 +111,7 @@ void Draw_FunString(int x, int y, unsigned char *str); #ifdef SERVERONLY #define Mod_Q1LeafPVS Mod_LeafPVS -qbyte *Mod_LeafPVS (struct mleaf_s *leaf, struct model_s *model, qbyte *buffer); +// qbyte *Mod_LeafPVS (struct mleaf_s *leaf, struct model_s *model, qbyte *buffer); #endif diff --git a/engine/gl/gl_vidlinuxglx.c b/engine/gl/gl_vidlinuxglx.c index 7fbb6ce2a..9167cfb07 100644 --- a/engine/gl/gl_vidlinuxglx.c +++ b/engine/gl/gl_vidlinuxglx.c @@ -972,7 +972,7 @@ void IN_MouseMove (usercmd_t *cmd, int pnum) old_mouse_y = my; if (m_accel.value) { - mouse_deltadist = sqrt(mx*mx + my*my); + float mouse_deltadist = sqrt(mx*mx + my*my); mouse_x *= (mouse_deltadist*m_accel.value + sensitivity.value*in_sensitivityscale); mouse_y *= (mouse_deltadist*m_accel.value + sensitivity.value*in_sensitivityscale); } else {