summary refs log tree commit diff stats
path: root/src/game.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2015-03-12 16:43:49 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2015-03-12 16:43:49 -0400
commit4c0869841d9ee6f8cc567b3e9eb2249193fc9f83 (patch)
treeff24074432b0178516bb7e2c43e87e8a9d72cadc /src/game.cpp
parent1a392a79b0491c5acc766705698191ed2ed6c2e6 (diff)
downloadtherapy-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.cpp2
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
161void Game::schedule(int frames, std::function<void ()>&& callback) 161void 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}