shithub: choc

Download patch

ref: 81d5f811e9d3d1c672978790da10c91d3a8d7663
parent: a22e4a163bb2cbf0939b4b73f4f889012c0fb414
author: Fabian Greffrath <fabian@greffrath.com>
date: Mon Mar 17 13:23:14 EDT 2014

Remove 0 summand.

--- a/src/v_video.c
+++ b/src/v_video.c
@@ -771,7 +771,7 @@
 
     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);
     }