[Sphere-axis-commits] CVS: UOMap UOMapCtl.cpp,1.14,1.15
Brought to you by:
pesterle
From: Philip E. <pes...@us...> - 2003-09-02 19:18:03
|
Update of /cvsroot/sphere-axis/UOMap In directory sc8-pr-cvs1:/tmp/cvs-serv19833 Modified Files: UOMapCtl.cpp Log Message: no message Index: UOMapCtl.cpp =================================================================== RCS file: /cvsroot/sphere-axis/UOMap/UOMapCtl.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** UOMapCtl.cpp 28 May 2003 21:40:13 -0000 1.14 --- UOMapCtl.cpp 2 Sep 2003 19:18:00 -0000 1.15 *************** *** 1544,1551 **** DWORD dwIndex = FindPatch(*pArray, (DWORD) BlockNumber); - CFile fMap; - CString csMapFile; - MapBlock block; - if ( dwIndex == 0xFFFFFFFF ) { --- 1544,1547 ---- *************** *** 1565,1569 **** dwIndex = BlockNumber; } ! if ( !fMap.Open(csMapFile, CFile::modeRead | CFile::typeBinary | CFile::shareDenyNone) ) return 0; fMap.Seek(dwIndex * sizeof(MapBlock), CFile::begin); --- 1561,1569 ---- dwIndex = BlockNumber; } ! ! CFile fMap; ! MapBlock block; ! ! if ( !fMap.Open(sFile, CFile::modeRead | CFile::typeBinary | CFile::shareDenyNone) ) return 0; fMap.Seek(dwIndex * sizeof(MapBlock), CFile::begin); |