Fix Freelook on Linux and add speed reset.
Should fix issue 7692. Also fixes issue 7147. I have no idea if these changes will affect Mac or Windows users, so please test.
This commit is contained in:
parent
536b8d6695
commit
0ac3e8c19f
|
@ -1150,10 +1150,10 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
|
|||
static float debugSpeed = 1.0f;
|
||||
switch (event.GetKeyCode())
|
||||
{
|
||||
case '9':
|
||||
case '(':
|
||||
debugSpeed /= 2.0f;
|
||||
break;
|
||||
case '0':
|
||||
case ')':
|
||||
debugSpeed *= 2.0f;
|
||||
break;
|
||||
case 'W':
|
||||
|
@ -1177,6 +1177,9 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
|
|||
case 'R':
|
||||
VertexShaderManager::ResetView();
|
||||
break;
|
||||
case 'F':
|
||||
debugSpeed = 1.0f;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue