aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-funcs.cpp
diff options
context:
space:
mode:
authorRoland van Laar2019-12-22 17:08:09 +0100
committerEugene Sandulenko2019-12-22 21:03:16 +0100
commitb5ff682fd28c6440a9a9d5c1e38e07cb00def73a (patch)
tree87a6afd3cd646a9b9f5babd69af18695df69bab7 /engines/director/lingo/lingo-funcs.cpp
parenta9e07c314fb05342c23ac2de21c20449f0709f1e (diff)
downloadscummvm-rg350-b5ff682fd28c6440a9a9d5c1e38e07cb00def73a.tar.gz
scummvm-rg350-b5ff682fd28c6440a9a9d5c1e38e07cb00def73a.tar.bz2
scummvm-rg350-b5ff682fd28c6440a9a9d5c1e38e07cb00def73a.zip
DIRECTOR: Fix calling of Beep
- Converts beep called with zero args to beep(1) - Beep arg starts counting at 1.
Diffstat (limited to 'engines/director/lingo/lingo-funcs.cpp')
-rw-r--r--engines/director/lingo/lingo-funcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-funcs.cpp b/engines/director/lingo/lingo-funcs.cpp
index b28436aea3..0d8d98210d 100644
--- a/engines/director/lingo/lingo-funcs.cpp
+++ b/engines/director/lingo/lingo-funcs.cpp
@@ -355,7 +355,7 @@ void Lingo::func_cursor(int c) {
}
void Lingo::func_beep(int repeats) {
- for (int r = 0; r <= repeats; r++)
+ for (int r = 1; r <= repeats; r++)
_vm->getSoundManager()->systemBeep();
}