diff --git a/qw_client/menu.c b/qw_client/menu.c index 8af1637..b57b780 100644 --- a/qw_client/menu.c +++ b/qw_client/menu.c @@ -442,7 +442,7 @@ M_AdjustSliders ( int dir ) break; case 9: // invert mouse - Cvar_Set("m_pitch", va("%d", -m_pitch->value)); + Cvar_Set("m_pitch", va("%f", -m_pitch->value)); break; case 10: // lookspring diff --git a/uquake/menu.c b/uquake/menu.c index 6c92f8f..1f235cd 100644 --- a/uquake/menu.c +++ b/uquake/menu.c @@ -1152,7 +1152,7 @@ M_AdjustSliders ( int dir ) break; case 9: // invert mouse - Cvar_Set("m_pitch", va("%d", -m_pitch->value)); + Cvar_Set("m_pitch", va("%f", -m_pitch->value)); break; case 10: // lookspring