aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/parser.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2010-12-12 07:40:00 +0000
committerArnaud Boutonné2010-12-12 07:40:00 +0000
commitc428cfbb855fa3162fcc6aff87e2b1c8a3de799a (patch)
tree0303301db8bc742e791d9349a9a5a4f3f03fdf3e /engines/hugo/parser.cpp
parentc4e4f7dc865b014cbfd516753fefd5ed077c8450 (diff)
downloadscummvm-rg350-c428cfbb855fa3162fcc6aff87e2b1c8a3de799a.tar.gz
scummvm-rg350-c428cfbb855fa3162fcc6aff87e2b1c8a3de799a.tar.bz2
scummvm-rg350-c428cfbb855fa3162fcc6aff87e2b1c8a3de799a.zip
HUGO: Fix "mouse" bug in H3 Dos, TPS tuning
- Fix "mouse" bug in H3 DOS. Game is still not completable - Use variable normal TPS, as it was slightly different in some DOS versions svn-id: r54880
Diffstat (limited to 'engines/hugo/parser.cpp')
-rw-r--r--engines/hugo/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/parser.cpp b/engines/hugo/parser.cpp
index 720b8e3305..7e2157039b 100644
--- a/engines/hugo/parser.cpp
+++ b/engines/hugo/parser.cpp
@@ -175,7 +175,7 @@ void Parser::charHandler() {
}
// See if time to blink cursor, set cursor character
- if ((tick++ % (TPS / BLINKS)) == 0)
+ if ((tick++ % (_vm->getTPS() / BLINKS)) == 0)
cursor = (cursor == '_') ? ' ' : '_';
// See if recall button pressed