made ignorePakCols exactly match CostumeRenderer::proc3 to make comparisions easier

svn-id: r8863
This commit is contained in:
Max Horn
2003-07-08 17:42:11 +00:00
parent ebd5310473
commit 00a87fda03
+7 -7
View File
@@ -43,16 +43,16 @@ void BaseCostumeRenderer::codec1_ignorePakCols(int num) {
int n = _height * num;
do {
v1.repcolor = *_srcptr++;
v1.replen = v1.repcolor & v1.mask;
if (v1.replen == 0) {
v1.replen = *_srcptr++;
v1.repcolor = v1.replen >> v1.shr;
v1.replen &= v1.mask;
if (!v1.replen)
v1.replen = *_srcptr++;
}
do {
if (!--n) {
v1.repcolor >>= v1.shr;
if (!--n)
return;
}
} while (--v1.replen);
} while (1);
}