From: Laszlo T. <ave...@us...> - 2007-02-08 20:12:55
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/BAMImporter In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv31423/plugins/BAMImporter Modified Files: BAMImp.cpp Log Message: implemented endgame/quitgame actions (pst/iwd2) implemented a few iwd2 opcodes Index: BAMImp.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/BAMImporter/BAMImp.cpp,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** BAMImp.cpp 4 Feb 2007 15:50:00 -0000 1.52 --- BAMImp.cpp 8 Feb 2007 20:12:12 -0000 1.53 *************** *** 338,342 **** unsigned long length = str->Remains(); if (length == 0) return af; ! data = new unsigned char[length]; str->Read( data, length ); af->SetFrameData(data); --- 338,343 ---- unsigned long length = str->Remains(); if (length == 0) return af; ! //data = new unsigned char[length]; ! data = (unsigned char *) malloc(length); str->Read( data, length ); af->SetFrameData(data); |