diff options
author | Nicola Mettifogo | 2008-07-23 07:52:43 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-07-23 07:52:43 +0000 |
commit | 53615c91288b32892e9a8334ea67d4c0059b575c (patch) | |
tree | 54f317cca9384d5050d91e5c5faba2802c894250 /engines/parallaction/parallaction.cpp | |
parent | 78ccedf8985151c594ef384fda95de295d39bb5c (diff) | |
download | scummvm-rg350-53615c91288b32892e9a8334ea67d4c0059b575c.tar.gz scummvm-rg350-53615c91288b32892e9a8334ea67d4c0059b575c.tar.bz2 scummvm-rg350-53615c91288b32892e9a8334ea67d4c0059b575c.zip |
Removed the historical waitUntilLeftClick function and adapted code to use the more general readInput and waitForButtonEvent.
svn-id: r33226
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r-- | engines/parallaction/parallaction.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index 59a97d1dd4..e7455220ec 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -384,11 +384,10 @@ void Parallaction::doLocationEnterTransition() { _programExec->runScripts(_location._programs.begin(), _location._programs.end()); drawAnimations(); - + showLocationComment(_location._comment, false); _gfx->updateScreen(); - showLocationComment(_location._comment, false); - _input->waitUntilLeftClick(); + _input->waitForButtonEvent(kMouseLeftUp); _balloonMan->freeBalloons(); // fades maximum intensity palette towards approximation of main palette |