aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/Sound.cpp')
-rw-r--r--src/crepe/Sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/Sound.cpp b/src/crepe/Sound.cpp
index 09ffd5f..136a71d 100644
--- a/src/crepe/Sound.cpp
+++ b/src/crepe/Sound.cpp
@@ -16,7 +16,7 @@ Sound::Sound(const char * src) {
}
void Sound::load(std::unique_ptr<api::Resource> res) {
- this->sample.load(this->res->canonical());
+ this->sample.load(res->canonical());
}
void Sound::play() {