diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-16 20:18:50 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-16 20:18:50 +0000 |
commit | 7489419558c12ba19eb7d0f26bf5a29149330eb0 (patch) | |
tree | 769035b8e79b95a2767aa04daa5cb567492e1254 /src/game.cpp | |
parent | 4453a80a2f43c5ebf20dce881586a89c484d4830 (diff) | |
download | mana-7489419558c12ba19eb7d0f26bf5a29149330eb0.tar.gz mana-7489419558c12ba19eb7d0f26bf5a29149330eb0.tar.bz2 mana-7489419558c12ba19eb7d0f26bf5a29149330eb0.tar.xz mana-7489419558c12ba19eb7d0f26bf5a29149330eb0.zip |
Use the ResourceManager to get spritesets.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index de2bb600..35196e4a 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -388,7 +388,8 @@ void game() // Update the screen when application is active, delay otherwise if (SDL_GetAppState() & SDL_APPACTIVE) { - engine->draw(); + frame++; + engine->draw(graphics); graphics->updateScreen(); } else |