Force white squares (not same as bgcolour) in Ultracode

This commit is contained in:
Robin Stuart 2020-08-12 12:19:26 +01:00
parent 2153ed416c
commit 20f767c4b6
6 changed files with 22 additions and 19 deletions

View file

@ -43,9 +43,6 @@
void pick_colour(int colour, char colour_code[]) {
switch(colour) {
case 0: // White
strcpy(colour_code, "ffffff");
break;
case 1: // Cyan
strcpy(colour_code, "00ffff");
break;
@ -64,6 +61,9 @@ void pick_colour(int colour, char colour_code[]) {
case 6: // Green
strcpy(colour_code, "00ff00");
break;
case 8: // White
strcpy(colour_code, "ffffff");
break;
default: // Black
strcpy(colour_code, "000000");
break;