mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
CRC the right amount of bytes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2499 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
2e8fe03892
commit
a699f6f0ff
1 changed files with 1 additions and 1 deletions
|
@ -673,7 +673,7 @@ void Huff_Init( int *huffCounts ) {
|
|||
}
|
||||
huffCounts[i] = LittleLong(huffCounts[i]);
|
||||
}
|
||||
madetable=Com_BlockChecksum(huffCounts, sizeof(huffCounts));
|
||||
madetable=Com_BlockChecksum(huffCounts, sizeof(*huffCounts)*256);
|
||||
for(i=0;i<256;i++)
|
||||
huffCounts[i] = LittleLong(huffCounts[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue