Corrections timer
This commit is contained in:
parent
7c1f70646a
commit
7498076d7a
@ -196,7 +196,7 @@
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
|
@ -1551,8 +1551,9 @@ void Engine::Render(float elapsedTime) {
|
||||
m_countdown = m_time + COUNTDOWN;
|
||||
m_resetcountdown = false;
|
||||
}
|
||||
if (!m_stopcountdown)
|
||||
m_countdown -= (int)m_time;
|
||||
if (!m_stopcountdown) {
|
||||
m_countdown = COUNTDOWN - (int)m_time;
|
||||
}
|
||||
}
|
||||
|
||||
DrawHud(elapsedTime, bloc);
|
||||
|
@ -5,5 +5,5 @@
|
||||
int main() {
|
||||
Engine engine;
|
||||
engine.SetMaxFps(60);
|
||||
engine.Start("Syndicat Quebecois de la Construction Simulator 2023", BASE_WIDTH, BASE_HEIGHT, false);
|
||||
engine.Start("Syndicat Quebecois de la Construction Simulator 2023", 1920, 1080, false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user