diff options
author | Roland van Laar | 2019-12-22 17:08:09 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-22 21:03:16 +0100 |
commit | b5ff682fd28c6440a9a9d5c1e38e07cb00def73a (patch) | |
tree | 87a6afd3cd646a9b9f5babd69af18695df69bab7 /engines/director/lingo/lingo-funcs.cpp | |
parent | a9e07c314fb05342c23ac2de21c20449f0709f1e (diff) | |
download | scummvm-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.cpp | 2 |
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(); } |