mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
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:
parent
99073074ba
commit
c3219a8ba5
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue