aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/input.cpp
diff options
context:
space:
mode:
authorStrangerke2012-05-14 21:29:27 +0200
committerStrangerke2012-05-14 21:29:27 +0200
commit88762667b52e4b904c56ecc94bf304c1a91e9feb (patch)
treee426444bceeac0fab8eaff774970f6100cf3cf1e /engines/tony/input.cpp
parentd5b80688e773427e0a96fe9270b0177efd953b14 (diff)
downloadscummvm-rg350-88762667b52e4b904c56ecc94bf304c1a91e9feb.tar.gz
scummvm-rg350-88762667b52e4b904c56ecc94bf304c1a91e9feb.tar.bz2
scummvm-rg350-88762667b52e4b904c56ecc94bf304c1a91e9feb.zip
TONY: Fix some formatting
Diffstat (limited to 'engines/tony/input.cpp')
-rw-r--r--engines/tony/input.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/tony/input.cpp b/engines/tony/input.cpp
index 97425e49c9..7663774ee4 100644
--- a/engines/tony/input.cpp
+++ b/engines/tony/input.cpp
@@ -32,7 +32,7 @@ namespace Tony {
RMInput::RMInput() {
// Setup mouse fields
- _clampMouse = false;
+ _clampMouse = false;
_mousePos.Set(0, 0);
_leftButton = _rightButton = false;;
@@ -89,7 +89,7 @@ void RMInput::Poll(void) {
default:
break;
}
- }
+ }
}
void RMInput::Init() {
@@ -107,12 +107,12 @@ bool RMInput::MouseRight() {
}
/**
- * Return true if a key has been pressed
+ * Return true if a key has been pressed
*/
-bool RMInput::GetAsyncKeyState(Common::KeyCode kc) {
+bool RMInput::GetAsyncKeyState(Common::KeyCode kc) {
// The act of testing for a particular key automatically clears the state, to prevent
// the same key being registered in multiple different frames
- bool result = _keyDown[(int)kc];
+ bool result = _keyDown[(int)kc];
_keyDown[(int)kc] = false;
return result;
}