Browse Source

Fix Cl2DecodeFrm3

pull/294/head
Anders Jenbo 7 years ago
parent
commit
ed746a6d2d
  1. 4
      Source/engine.cpp

4
Source/engine.cpp

@ -1600,7 +1600,7 @@ void Cl2DecDatFrm2(BYTE *pDecodeTo, BYTE *pRLEBytes, int nDataSize, int nWidth,
*/
void Cl2DecodeFrm3(int sx, int sy, BYTE *pCelBuff, int nCel, int nWidth, int CelSkip, int CelCap, char light)
{
int nDataSize, idx, nSize;
int nDataSize, idx, nDataSize;
BYTE *pRLEBytes, *pDecodeTo;
/// ASSERT: assert(gpBuffer != NULL);
@ -1628,7 +1628,7 @@ void Cl2DecodeFrm3(int sx, int sy, BYTE *pCelBuff, int nCel, int nWidth, int Cel
Cl2DecDatLightTbl1(
pDecodeTo,
pRLEBytes,
nSize,
nDataSize,
nWidth,
&pLightTbl[idx]);
}

Loading…
Cancel
Save