character update is disabled when dt is 0, fixes an issue in pause

This commit is contained in:
Turanszki Janos
2024-11-26 22:06:03 +09:00
parent bada687cba
commit 0975a5a808
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -5378,6 +5378,9 @@ namespace wi::scene
}
void Scene::RunCharacterUpdateSystem(wi::jobsystem::context& ctx)
{
if (dt == 0)
return;
static const XMVECTOR up = XMVectorSet(0, 1, 0, 0);
static const XMMATRIX rotY = XMMatrixRotationY(XM_PI);
static const int max_substeps = 6;
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wi::version
// minor features, major updates, breaking compatibility changes
const int minor = 71;
// minor bug fixes, alterations, refactors, updates
const int revision = 621;
const int revision = 622;
const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);