aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-06-26 19:58:14 +0200
committerEugene Sandulenko2019-09-03 17:17:01 +0200
commit7858f01170fe41e0c0d97e67d84105b388c5ec1f (patch)
tree2344d7b7b5a5b7e0b90ad22f2ff4cd85de8d320b /engines
parent79e33b113a720ac8852c8960077288db265e8286 (diff)
downloadscummvm-rg350-7858f01170fe41e0c0d97e67d84105b388c5ec1f.tar.gz
scummvm-rg350-7858f01170fe41e0c0d97e67d84105b388c5ec1f.tar.bz2
scummvm-rg350-7858f01170fe41e0c0d97e67d84105b388c5ec1f.zip
HDB: Fix parameters in cineSetAnimFrame()
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/lua-script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index a4e4749a9f..780b55a9b4 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -283,7 +283,7 @@ static int cineSetAnimFrame(lua_State *L) {
static int cineDialog(lua_State *L) {
const char *title = lua_tostring(L, 1);
- const char *string = lua_tostring(L, 1);
+ const char *string = lua_tostring(L, 2);
double seconds = lua_tonumber(L, 3);
g_hdb->_lua->checkParameters("cineDialog", 3);