aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/system')
-rw-r--r--src/crepe/system/AudioSystem.cpp2
-rw-r--r--src/crepe/system/AudioSystem.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/system/AudioSystem.cpp b/src/crepe/system/AudioSystem.cpp
index b7ac1f2..6c30b85 100644
--- a/src/crepe/system/AudioSystem.cpp
+++ b/src/crepe/system/AudioSystem.cpp
@@ -47,7 +47,7 @@ void AudioSystem::update() {
* using the same underlying instance of Sound (esp. w/
* play/pause/retrigger behavior).
*/
- Sound & sound = this->resman.cache<Sound>(component.source);
+ // Sound & sound = this->resource_manager.get<Sound>(component);
// TODO: lots of state diffing
}
diff --git a/src/crepe/system/AudioSystem.h b/src/crepe/system/AudioSystem.h
index d0b4f9a..d3d5aeb 100644
--- a/src/crepe/system/AudioSystem.h
+++ b/src/crepe/system/AudioSystem.h
@@ -1,7 +1,7 @@
#pragma once
#include "../facade/SoundContext.h"
-#include "../api/ResourceManager.h"
+#include "../ResourceManager.h"
#include "System.h"
@@ -14,7 +14,7 @@ public:
private:
SoundContext context {};
- ResourceManager & resman = ResourceManager::get_instance();
+ ResourceManager resource_manager {};
};
} // namespace crepe