diff options
author | Joseph-Eugene Winzer | 2018-03-11 22:07:13 +0100 |
---|---|---|
committer | Joseph-Eugene Winzer | 2018-04-14 11:45:52 +0200 |
commit | ff5426c609a4affc0cd96cff38211f949c614989 (patch) | |
tree | 15fb6b5ce74926c5127b26ce083e56f8afaf08d4 /engines/supernova/rooms.cpp | |
parent | bb46e53667c017442bd456b3da384bbf82ca1347 (diff) | |
download | scummvm-rg350-ff5426c609a4affc0cd96cff38211f949c614989.tar.gz scummvm-rg350-ff5426c609a4affc0cd96cff38211f949c614989.tar.bz2 scummvm-rg350-ff5426c609a4affc0cd96cff38211f949c614989.zip |
SUPERNOVA: Moves updateEvents() to GameManager
updatEvents() depends on an initalized GameManager instance and mostly
manipulates its state. So it seemed fitting to move it over.
Diffstat (limited to 'engines/supernova/rooms.cpp')
-rw-r--r-- | engines/supernova/rooms.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/supernova/rooms.cpp b/engines/supernova/rooms.cpp index e6847d2a02..1899fcfd36 100644 --- a/engines/supernova/rooms.cpp +++ b/engines/supernova/rooms.cpp @@ -272,7 +272,7 @@ void Intro::titleScreen() { Marquee marquee(_vm, Marquee::kMarqueeIntro, _introText.c_str()); while (!_vm->shouldQuit()) { - _vm->updateEvents(); + _gm->updateEvents(); marquee.renderCharacter(); if (_gm->_mouseClicked || _gm->_keyPressed) break; @@ -3298,7 +3298,7 @@ void Outro::onEntrance() { _vm->playSoundMod(kMusicOutro); Marquee marquee(_vm, Marquee::kMarqueeOutro, _outroText.c_str()); while (!_vm->shouldQuit()) { - _vm->updateEvents(); + _gm->updateEvents(); marquee.renderCharacter(); if (_gm->_mouseClicked || _gm->_keyPressed) break; |