fixed SkyLogic bug and made font highlightning finally correct.

svn-id: r8416
This commit is contained in:
Robert Göffringmann 2003-06-09 14:31:38 +00:00
parent 5813724a33
commit 0fabcc6571
2 changed files with 2 additions and 1 deletions

View file

@ -415,7 +415,7 @@ void SkyText::changeTextSpriteColour(uint8 *sprData, uint8 newCol) {
dataFileHeader *header = (dataFileHeader*)sprData;
sprData += sizeof(dataFileHeader);
for (uint16 cnt = 0; cnt < header->s_sp_size; cnt++)
if (sprData[cnt] <= 241) sprData[cnt] = newCol;
if (sprData[cnt] >= 241) sprData[cnt] = newCol;
}
static const HuffTree huffTree_00267[] = {