[Scummvm-cvs-logs] CVS: residual lua.cpp,1.38,1.39
Pawel Kolodziejski
aquadran at users.sourceforge.net
Sun Feb 22 10:23:01 CET 2004
Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20984
Modified Files:
lua.cpp
Log Message:
clenaup
Index: lua.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/lua.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- lua.cpp 22 Feb 2004 18:04:22 -0000 1.38
+++ lua.cpp 22 Feb 2004 18:09:34 -0000 1.39
@@ -1019,14 +1019,14 @@
static void StartFullscreenMovie() {
bool mode = getbool(2);
- pushbool(g_smush->play(lua_getstring(lua_getparam(1)), 0, 0));
+ pushbool(g_smush->play(luaL_check_string(1), 0, 0));
}
static void StartMovie() {
bool mode = getbool(2);
int x = lua_getparam(3);
int y = lua_getparam(4);
- pushbool(g_smush->play(lua_getstring(lua_getparam(1)), x, y));
+ pushbool(g_smush->play(luaL_check_string(1), x, y));
}
static void IsFullscreenMoviePlaying() {
More information about the Scummvm-git-logs
mailing list