diff options
author | Matthew Hoops | 2011-12-20 18:35:33 -0500 |
---|---|---|
committer | Matthew Hoops | 2011-12-20 18:35:33 -0500 |
commit | 331da45ae3e1192e348ae817456e9f121ee74577 (patch) | |
tree | 515c36009ac0e95521099204c9caa179a670249b /engines/pegasus/neighborhood/tsa/fulltsa.cpp | |
parent | a600dcb56a9633ebfae0d726480352b6f2e9b3ba (diff) | |
download | scummvm-rg350-331da45ae3e1192e348ae817456e9f121ee74577.tar.gz scummvm-rg350-331da45ae3e1192e348ae817456e9f121ee74577.tar.bz2 scummvm-rg350-331da45ae3e1192e348ae817456e9f121ee74577.zip |
PEGASUS: Make InputDevice into a Singleton
Removes a global construction
Diffstat (limited to 'engines/pegasus/neighborhood/tsa/fulltsa.cpp')
-rwxr-xr-x | engines/pegasus/neighborhood/tsa/fulltsa.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/pegasus/neighborhood/tsa/fulltsa.cpp b/engines/pegasus/neighborhood/tsa/fulltsa.cpp index c54e252a64..7f5c3925d1 100755 --- a/engines/pegasus/neighborhood/tsa/fulltsa.cpp +++ b/engines/pegasus/neighborhood/tsa/fulltsa.cpp @@ -1619,7 +1619,7 @@ void FullTSA::showMainJumpMenu() { } void FullTSA::playTBPMonitor() { - InputHandler::getCurrentInputDevice()->waitInput(kFilterAllButtons); + InputDevice.waitInput(kFilterAllButtons); if ((GameState.getT0BMonitorMode() & kPlayingTBPMask) == 0) { ExtraID extra; @@ -1770,7 +1770,7 @@ void FullTSA::initializeComparisonMonitor(const int newMode, const ExtraID compa } void FullTSA::playLeftComparison() { - InputHandler::getCurrentInputDevice()->waitInput(kFilterAllButtons); + InputDevice.waitInput(kFilterAllButtons); if ((GameState.getT0BMonitorMode() & kPlayingLeftComparisonMask) == 0) { ExtraID extra; @@ -1820,7 +1820,7 @@ void FullTSA::playLeftComparison() { } void FullTSA::playRightComparison() { - InputHandler::getCurrentInputDevice()->waitInput(kFilterAllButtons); + InputDevice.waitInput(kFilterAllButtons); if ((GameState.getT0BMonitorMode() & kPlayingRightComparisonMask) == 0) { ExtraID extra; |