diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-12 16:43:49 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-12 16:43:49 -0400 |
commit | 4c0869841d9ee6f8cc567b3e9eb2249193fc9f83 (patch) | |
tree | ff24074432b0178516bb7e2c43e87e8a9d72cadc /src/game.cpp | |
parent | 1a392a79b0491c5acc766705698191ed2ed6c2e6 (diff) | |
download | therapy-4c0869841d9ee6f8cc567b3e9eb2249193fc9f83.tar.gz therapy-4c0869841d9ee6f8cc567b3e9eb2249193fc9f83.tar.bz2 therapy-4c0869841d9ee6f8cc567b3e9eb2249193fc9f83.zip |
Play a sound when you jump
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 043c82b..50c01f5 100644 --- a/src/game.cpp +++ b/src/game.cpp | |||
@@ -160,5 +160,5 @@ void Game::loadGame(const Map& curMap) | |||
160 | 160 | ||
161 | void Game::schedule(int frames, std::function<void ()>&& callback) | 161 | void Game::schedule(int frames, std::function<void ()>&& callback) |
162 | { | 162 | { |
163 | scheduled.emplace(begin(scheduled), frames, callback); | 163 | scheduled.emplace_front(frames, callback); |
164 | } | 164 | } |