linux fixes

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1285 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2005-09-08 01:47:48 +00:00
parent 99073074ba
commit c3219a8ba5
2 changed files with 2 additions and 2 deletions

View file

@ -111,7 +111,7 @@ void Draw_FunString(int x, int y, unsigned char *str);
#ifdef SERVERONLY #ifdef SERVERONLY
#define Mod_Q1LeafPVS Mod_LeafPVS #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 #endif

View file

@ -972,7 +972,7 @@ void IN_MouseMove (usercmd_t *cmd, int pnum)
old_mouse_y = my; old_mouse_y = my;
if (m_accel.value) { 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_x *= (mouse_deltadist*m_accel.value + sensitivity.value*in_sensitivityscale);
mouse_y *= (mouse_deltadist*m_accel.value + sensitivity.value*in_sensitivityscale); mouse_y *= (mouse_deltadist*m_accel.value + sensitivity.value*in_sensitivityscale);
} else { } else {