summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-10-16 20:18:50 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-10-16 20:18:50 +0000
commit7489419558c12ba19eb7d0f26bf5a29149330eb0 (patch)
tree769035b8e79b95a2767aa04daa5cb567492e1254 /src/game.cpp
parent4453a80a2f43c5ebf20dce881586a89c484d4830 (diff)
downloadmana-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.cpp3
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