HDB: Fix Lua Index

This commit is contained in:
Nipun Garg 2019-07-14 00:50:38 +05:30 committed by Eugene Sandulenko
parent cea99e3fcd
commit 44ae2202aa

View File

@ -461,7 +461,7 @@ static int cineDrawPic(lua_State *L) {
const char *id = lua_tostring(L, 1);
const char *pic = lua_tostring(L, 2);
double x = lua_tonumber(L, 3);
double y = lua_tonumber(L, 3);
double y = lua_tonumber(L, 4);
g_hdb->_lua->checkParameters("cineDrawPic", 4);
@ -478,7 +478,7 @@ static int cineDrawMaskedPic(lua_State *L) {
const char *id = lua_tostring(L, 1);
const char *pic = lua_tostring(L, 2);
double x = lua_tonumber(L, 3);
double y = lua_tonumber(L, 3);
double y = lua_tonumber(L, 4);
g_hdb->_lua->checkParameters("cineDrawMaskedPic", 4);