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

@@ -487,10 +487,8 @@ void Global::ConfigParse(cParser &Parser)
Parser.getTokens();
Parser >> token;
/*
Global::bUseVBO = (token == "yes");
*/
Global::bUseVBO = false; // temporarily disabled until render paths are sorted out
}
else if (token == "feedbackmode")
{

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);