character update is disabled when dt is 0, fixes an issue in pause
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user