fixed SkyLogic bug and made font highlightning finally correct.
svn-id: r8416
This commit is contained in:
parent
5813724a33
commit
0fabcc6571
2 changed files with 2 additions and 1 deletions
|
@ -1257,6 +1257,7 @@ script:
|
|||
case 19: // script_exit
|
||||
return 0;
|
||||
case 20: // restart_script
|
||||
offset = 0;
|
||||
goto script;
|
||||
default:
|
||||
error("Unknown script command: %d", command);
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue