diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2021-06-27 05:46:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-27 05:46:22 +0200 |
commit | dd1323d398733f0f4a3b285b396ed3a47fb8eb96 (patch) | |
tree | 3064b292efd41a36b5655fd4d07ec42053463ffb /src/RendererWorld.cpp | |
parent | Merge pull request #60 from LaG1924/fix/memleak (diff) | |
parent | Fixed entity bug found by @uis246 (diff) | |
download | AltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.tar AltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.tar.gz AltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.tar.bz2 AltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.tar.lz AltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.tar.xz AltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.tar.zst AltCraft-dd1323d398733f0f4a3b285b396ed3a47fb8eb96.zip |
Diffstat (limited to 'src/RendererWorld.cpp')
-rw-r--r-- | src/RendererWorld.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RendererWorld.cpp b/src/RendererWorld.cpp index b433609..e3ef738 100644 --- a/src/RendererWorld.cpp +++ b/src/RendererWorld.cpp @@ -33,7 +33,7 @@ void RendererWorld::WorkerFunction(size_t workerId) { LoopExecutionTimeController timer(std::chrono::milliseconds(50)); while (isRunning) { - while (tasksListener.NotEmpty() && isRunning) + while (!tasksListener.Empty() && isRunning) tasksListener.HandleEvent(); timer.Update(); } |