mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 05:39:18 +02:00
work
This commit is contained in:
@@ -107,13 +107,6 @@ driver_mode::update() {
|
||||
|
||||
if (deltatime != 0.0)
|
||||
{
|
||||
static uint32_t fcount = 0;
|
||||
fcount ++;
|
||||
if (fcount > 500) {
|
||||
fcount = 0;
|
||||
WriteLog(std::to_string(Random(1.0, 100.0)));
|
||||
}
|
||||
|
||||
// jak pauza, to nie ma po co tego przeliczać
|
||||
simulation::Time.update( deltatime );
|
||||
|
||||
@@ -785,15 +778,6 @@ driver_mode::OnKeyDown(int cKey) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GLFW_KEY_F12: {
|
||||
// quick debug mode toggle
|
||||
if( Global.ctrlState
|
||||
&& Global.shiftState ) {
|
||||
DebugModeFlag = !DebugModeFlag;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default: {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user