aboutsummaryrefslogtreecommitdiff
path: root/sky/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sky/text.cpp')
-rw-r--r--sky/text.cpp2
1 files changed, 1 insertions, 1 deletions
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[] = {