16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 22:39:18 +02:00

ups, ctrl włączał radiostop

This commit is contained in:
VB
2017-03-03 17:03:34 +01:00
parent 6545ab39df
commit b95af30f3a
2 changed files with 2 additions and 4 deletions

View File

@@ -753,7 +753,7 @@ void TWorld::OnKeyDown(int cKey)
// else if (cKey=='3') Global::iWriteLogEnabled^=4; //wypisywanie nazw torów
}
}
else if (Global::ctrlState && GLFW_KEY_PAUSE) //[Ctrl]+[Break]
else if (Global::ctrlState && cKey == GLFW_KEY_PAUSE) //[Ctrl]+[Break]
{ // hamowanie wszystkich pojazdów w okolicy
if (Controlled->MoverParameters->Radio)
Ground.RadioStop(Camera.Pos);