diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-14 19:35:27 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-14 19:35:27 +0000 |
commit | 55494057bd7e1ae5e6260816b1c5b2a84e2ff573 (patch) | |
tree | e8dac9033909041361c1ca72d8955884f2a85b7f /src/game.cpp | |
parent | 1ccc963719897ca290104f42adc9c37b792feb7a (diff) | |
download | mana-55494057bd7e1ae5e6260816b1c5b2a84e2ff573.tar.gz mana-55494057bd7e1ae5e6260816b1c5b2a84e2ff573.tar.bz2 mana-55494057bd7e1ae5e6260816b1c5b2a84e2ff573.tar.xz mana-55494057bd7e1ae5e6260816b1c5b2a84e2ff573.zip |
Removed the rather useless remaining draw function from the engine class and
fixed an issue with fading out damage texts (they were sometimes fully opaque
at the end of fading out).
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 0cfc72e5..97427860 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -363,7 +363,7 @@ void Game::logic() get_elapsed_time(mDrawTime / 10) > mMinFrameTime) { frame++; - engine->draw(graphics); + gui->draw(); graphics->updateScreen(); mDrawTime += mMinFrameTime; |