[Scummvm-cvs-logs] CVS: scummvm/sword2 anims.cpp,1.52,1.53

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Sun Jan 18 11:52:00 CET 2004


Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1:/tmp/cvs-serv9936

Modified Files:
	anims.cpp 
Log Message:
I know we're not supposed to make cleanup commits at this point, but surely
we can make an exception for removing self-described hacks and utterly
misleading comments? :-)


Index: anims.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/anims.cpp,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- anims.cpp	13 Jan 2004 14:22:29 -0000	1.52
+++ anims.cpp	18 Jan 2004 19:50:59 -0000	1.53
@@ -639,7 +639,7 @@
 
 	// add the appropriate file extension & play it
 
-	sprintf(filename, "%s.smk", (const char *) _vm->_memory->intToPtr(params[0]));
+	strcpy(filename, (const char *) _vm->_memory->intToPtr(params[0]));
 
 	// Write to walkthrough file (zebug0.txt)
  	debug(5, "PLAYING SEQUENCE \"%s\"", filename);





More information about the Scummvm-git-logs mailing list