Skip to content

Commit 0012636

Browse files
authored
[ZH] Fix compiler warning about incorrect order of operations in WorldHeightMap::getPointerToTileData() (#1152)
1 parent cac806a commit 0012636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/GameClient/WorldHeightMap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2434,7 +2434,7 @@ UnsignedByte * WorldHeightMap::getPointerToTileData(Int xIndex, Int yIndex, Int
24342434
Int r,g,b,a;
24352435
b = *pBlendData++;
24362436
g = *pBlendData++;
2437-
r = *pBlendData++; *pBlendData++;
2437+
r = *pBlendData++; pBlendData++;
24382438
a = *pAlpha; pAlpha += 4;
24392439
*pDestData++ = ((b*a)/255) + (((*pDestData)*(255-a))/255);
24402440
*pDestData++ = ((g*a)/255) + (((*pDestData)*(255-a))/255);

0 commit comments

Comments
 (0)