summaryrefslogtreecommitdiffstats
path: root/src/ThreadGame.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-09-23 17:55:08 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:32 +0100
commit437cf879808fb68a79e7f8325615737f86f434be (patch)
treedb9dcb8c02606dc8bfc7478e058291b6cec076cf /src/ThreadGame.cpp
parent2017-09-20 (diff)
downloadAltCraft-437cf879808fb68a79e7f8325615737f86f434be.tar
AltCraft-437cf879808fb68a79e7f8325615737f86f434be.tar.gz
AltCraft-437cf879808fb68a79e7f8325615737f86f434be.tar.bz2
AltCraft-437cf879808fb68a79e7f8325615737f86f434be.tar.lz
AltCraft-437cf879808fb68a79e7f8325615737f86f434be.tar.xz
AltCraft-437cf879808fb68a79e7f8325615737f86f434be.tar.zst
AltCraft-437cf879808fb68a79e7f8325615737f86f434be.zip
Diffstat (limited to '')
-rw-r--r--src/ThreadGame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ThreadGame.cpp b/src/ThreadGame.cpp
index f425747..3ca9b13 100644
--- a/src/ThreadGame.cpp
+++ b/src/ThreadGame.cpp
@@ -83,7 +83,7 @@ void ThreadGame::Execute() {
gs->HandleRotation(data.x, data.y);
});
- LoopExecutionTimeController timer(std::chrono::milliseconds(int(1.0f / 60.0f * 1000.0f)));
+ LoopExecutionTimeController timer(std::chrono::milliseconds(int(1.0f / 120.0f * 1000.0f)));
while (isRunning) {
DebugInfo::gameThreadTime = timer.GetRealDeltaS() * 1000'00.0f;