From 7858f01170fe41e0c0d97e67d84105b388c5ec1f Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 26 Jun 2019 19:58:14 +0200 Subject: HDB: Fix parameters in cineSetAnimFrame() --- engines/hdb/lua-script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/hdb') 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); -- cgit v1.2.3