diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/v_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v_video.c b/src/v_video.c index 4f38c5c3..330e0d51 100644 --- a/src/v_video.c +++ b/src/v_video.c @@ -771,7 +771,7 @@ void WritePNGfile(char *filename, byte *data, for (i = 0; i < 256; i++) { - pcolor[i].red = *(palette + 3 * i + 0); + pcolor[i].red = *(palette + 3 * i); pcolor[i].green = *(palette + 3 * i + 1); pcolor[i].blue = *(palette + 3 * i + 2); } |