aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/neighborhood/caldoria
diff options
context:
space:
mode:
authorMatthew Hoops2011-12-20 18:35:33 -0500
committerMatthew Hoops2011-12-20 18:35:33 -0500
commit331da45ae3e1192e348ae817456e9f121ee74577 (patch)
tree515c36009ac0e95521099204c9caa179a670249b /engines/pegasus/neighborhood/caldoria
parenta600dcb56a9633ebfae0d726480352b6f2e9b3ba (diff)
downloadscummvm-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/caldoria')
-rwxr-xr-xengines/pegasus/neighborhood/caldoria/caldoria.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pegasus/neighborhood/caldoria/caldoria.cpp b/engines/pegasus/neighborhood/caldoria/caldoria.cpp
index a4beecde9b..484242371a 100755
--- a/engines/pegasus/neighborhood/caldoria/caldoria.cpp
+++ b/engines/pegasus/neighborhood/caldoria/caldoria.cpp
@@ -222,7 +222,7 @@ void Caldoria::start() {
}
}
- InputHandler::getCurrentInputDevice()->getInput(input, kPullbackInterruptFilter);
+ InputDevice.getInput(input, kPullbackInterruptFilter);
if (input.anyInput()) { // TODO: Save/Quit requests
skipped = true;
break;