[Scummvm-cvs-logs] CVS: residual lua.cpp,1.103,1.104

Pawel Kolodziejski aquadran at users.sourceforge.net
Sat Jan 15 16:28:04 CET 2005


Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30671

Modified Files:
	lua.cpp 
Log Message:
fixed bug related checking all sounds instead for concrete sound

Index: lua.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/lua.cpp,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- lua.cpp	15 Jan 2005 17:06:31 -0000	1.103
+++ lua.cpp	16 Jan 2005 00:27:15 -0000	1.104
@@ -983,7 +983,7 @@
 
 	switch (param) {
 	case IM_SOUND_PLAY_COUNT:
-		lua_pushnumber(g_imuse->getCountPlayedTracks());
+		lua_pushnumber(g_imuse->getCountPlayedTracks(soundName));
 		break;
 	case IM_SOUND_VOL:
 		lua_pushnumber(g_imuse->getVolume(soundName));





More information about the Scummvm-git-logs mailing list