[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,1.10,1.11

Pawe? Ko?odziejski aquadran at users.sourceforge.net
Sun Sep 15 13:17:08 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv11367

Modified Files:
	script_v2.cpp 
Log Message:
removed additional directory in filename

Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- script_v2.cpp	15 Sep 2002 19:28:34 -0000	1.10
+++ script_v2.cpp	15 Sep 2002 20:16:25 -0000	1.11
@@ -2717,10 +2717,7 @@
 					speed = 1000 / _insaneFlag;
 				ScummRenderer sr(this, speed);
  				SmushPlayer sp(&sr);
- 				char filename[512];
- 				strcpy(filename, _gameDataPath);
- 				strcat(filename, (char*)getStringAddressVar(VAR_VIDEONAME));
- 				sp.play(filename, getGameDataPath());
+ 				sp.play((char*)getStringAddressVar(VAR_VIDEONAME), getGameDataPath());
  			}
 			break;
 		case 7:





More information about the Scummvm-git-logs mailing list