diff options
-rw-r--r-- | sky/logic.cpp | 1 | ||||
-rw-r--r-- | sky/text.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp index cecfb378b9..9f8b247e69 100644 --- a/sky/logic.cpp +++ b/sky/logic.cpp @@ -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); diff --git a/sky/text.cpp b/sky/text.cpp index 5e4654fe0e..865db43d80 100644 --- a/sky/text.cpp +++ b/sky/text.cpp @@ -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[] = { |