]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Typo
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 24 Jun 2020 15:47:37 +0000 (15:47 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 24 Jun 2020 15:47:37 +0000 (15:47 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12731 d7cf8633-e32d-0410-b094-e92efae38249

host_cmd.c

index 9aa2d1397272b3375cd8cf5b5b40e34033c5fc16..3d1029ab9139e0a96492e1e0dd383b16918deb1b 100644 (file)
@@ -231,7 +231,7 @@ static void CL_Color_f(cmd_state_t *cmd)
         * happens twice here. Perhaps find a cleaner way?
         */
 
-       top = top >= 0 ? bottom : topcolor.integer;
+       top = top >= 0 ? top : topcolor.integer;
        bottom = bottom >= 0 ? bottom : bottomcolor.integer;
 
        top &= 15;