aboutsummaryrefslogtreecommitdiff
path: root/tr8as.c
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-05-05 21:52:19 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-05-05 21:52:19 +0100
commitb0df6e5b6a57feb8f6c35a5654d0e5422192aac7 (patch)
tree5b8af7713fd34318c39598bd7be8213226d38a92 /tr8as.c
parentca551c1700cf982fe96388491a096b515365894f (diff)
downloadtr8vm-b0df6e5b6a57feb8f6c35a5654d0e5422192aac7.tar.gz
tr8vm-b0df6e5b6a57feb8f6c35a5654d0e5422192aac7.zip
Ammend the comment
It is values not indexes what we match.
Diffstat (limited to 'tr8as.c')
-rw-r--r--tr8as.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tr8as.c b/tr8as.c
index 38b327d..fcc2c21 100644
--- a/tr8as.c
+++ b/tr8as.c
@@ -499,7 +499,7 @@ static uint8_t parse_incpng(As *as, char **c)
uint8_t index;
/* map RGB values to the palette indexes;
- * any index over 15 is "transparent" with index 128 */
+ * any unmatched value is "transparent" with index 128 */
for (int i = 0; i < x * y * 3; i += 3)
{
for (index = 0; index < 16; index++)