summaryrefslogtreecommitdiff
path: root/src/KingSystem/Map/mapPlacementMgr.cpp
diff options
context:
space:
mode:
authorBriggs Baltzell <b3apollo13@gmail.com>2023-07-01 15:29:40 -0500
committerGitHub <noreply@github.com>2023-07-01 21:29:40 +0100
commitfd527f92164b8efdb746cffcf23c4f033fbffa76 (patch)
tree492976adfdf031252c85de91a185bfd625738a0c /src/KingSystem/Map/mapPlacementMgr.cpp
parentbdd6e57d63bde1714fb42197ac4080833ac6b572 (diff)
Added VFR::getDeltaFrame (#122)
* Added getDeltaFrame and changed getDeltaTime * Replaced getDeltaTime usages with getDeltaFrame * Moved getDeltaTime above getDeltaFrame
Diffstat (limited to 'src/KingSystem/Map/mapPlacementMgr.cpp')
-rw-r--r--src/KingSystem/Map/mapPlacementMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/Map/mapPlacementMgr.cpp b/src/KingSystem/Map/mapPlacementMgr.cpp
index 4898c6fb..08776dc0 100644
--- a/src/KingSystem/Map/mapPlacementMgr.cpp
+++ b/src/KingSystem/Map/mapPlacementMgr.cpp
@@ -111,7 +111,7 @@ void PlacementMgr::x() {
f32 last_time = mTime;
auto* vfr = VFR::instance();
- mTime += vfr->getDeltaTime();
+ mTime += vfr->getDeltaFrame();
mTimeUpdated = s32(last_time) != s32(mTime);
}