diff options
| author | ThePixelGamer <thepixelmaster2354@gmail.com> | 2024-07-26 18:00:57 -0500 |
|---|---|---|
| committer | ThePixelGamer <thepixelmaster2354@gmail.com> | 2024-07-26 18:00:57 -0500 |
| commit | de0fd08acc676caad7dd2f445f221473d7cd4b75 (patch) | |
| tree | 0808bc291b399ccbe9c8fe00b328f94a8da04aff /src/KingSystem/World/worldTimeMgr.cpp | |
| parent | 96f611fa5d1c2704d91e5c490662ec8c0a741279 (diff) | |
Update libraries and adjust code to match again
Diffstat (limited to 'src/KingSystem/World/worldTimeMgr.cpp')
| -rw-r--r-- | src/KingSystem/World/worldTimeMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/World/worldTimeMgr.cpp b/src/KingSystem/World/worldTimeMgr.cpp index 39e213bc..2cb5d091 100644 --- a/src/KingSystem/World/worldTimeMgr.cpp +++ b/src/KingSystem/World/worldTimeMgr.cpp @@ -327,7 +327,7 @@ void TimeMgr::calc_() { if (!mFindDungeonActivated && mTime >= 11_h) mTime = 11_h; - _d0 = sead::Mathf::max(mTimeStep / DefaultTimeStep, 1.0); + _d0 = sead::Mathf::clampMin(mTimeStep / DefaultTimeStep, 1.0); mBloodMoonTimer += delta; break; } |
