Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/test/StarTestUniverse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/test/StarTestUniverse.cpp')
-rw-r--r--source/test/StarTestUniverse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/test/StarTestUniverse.cpp b/source/test/StarTestUniverse.cpp
index 4602f34..a7b9dd2 100644
--- a/source/test/StarTestUniverse.cpp
+++ b/source/test/StarTestUniverse.cpp
@@ -42,7 +42,7 @@ TestUniverse::~TestUniverse() {
void TestUniverse::warpPlayer(WorldId worldId) {
m_client->warpPlayer(WarpToWorld(worldId), true);
while (m_mainPlayer->isTeleporting() || m_client->playerWorld().empty()) {
- m_client->update();
+ m_client->update(0.016f);
Thread::sleep(16);
}
}
@@ -53,7 +53,7 @@ WorldId TestUniverse::currentPlayerWorld() const {
void TestUniverse::update(unsigned times) {
for (unsigned i = 0; i < times; ++i) {
- m_client->update();
+ m_client->update(0.016f);
Thread::sleep(16);
}
}