mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 05:29:18 +02:00
move captureonstart handling to drivermode
This commit is contained in:
@@ -1035,14 +1035,6 @@ eu07_application::init_modes() {
|
||||
else
|
||||
push_mode( mode::scenarioloader );
|
||||
|
||||
if (Global.captureonstart)
|
||||
{
|
||||
Global.ControlPicking = false;
|
||||
glfwSetInputMode(m_windows.front(), GLFW_CURSOR, GLFW_CURSOR_DISABLED);
|
||||
}
|
||||
else
|
||||
Global.ControlPicking = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user