]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
Typo
[xonotic/darkplaces.git] / host_cmd.c
index 4924ea27d870dd6ec94702131cb1913e9e0ad9d7..3d1029ab9139e0a96492e1e0dd383b16918deb1b 100644 (file)
@@ -231,6 +231,9 @@ static void CL_Color_f(cmd_state_t *cmd)
         * happens twice here. Perhaps find a cleaner way?
         */
 
+       top = top >= 0 ? top : topcolor.integer;
+       bottom = bottom >= 0 ? bottom : bottomcolor.integer;
+
        top &= 15;
        bottom &= 15;