Skip to content

Commit 74fb74c

Browse files
committed
Strip out ct for coins
1 parent 7013310 commit 74fb74c

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

desktop_version/src/Editor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -701,8 +701,7 @@ void editorrender(void)
701701
fillboxabs((customentities[i].x*8)- (ed.levx*40*8),(customentities[i].y*8)- (ed.levy*30*8),32,8,graphics.getRGB(255,255,255));
702702
break;
703703
case 8: // Coin
704-
graphics.huetilesetcol(8);
705-
graphics.drawhuetile((customentities[i].x * 8) - (ed.levx * 40 * 8), (customentities[i].y * 8) - (ed.levy * 30 * 8), 48);
704+
graphics.drawhuetile((customentities[i].x * 8) - (ed.levx * 40 * 8), (customentities[i].y * 8) - (ed.levy * 30 * 8), 48, graphics.huetilegetcol(8));
706705
fillboxabs((customentities[i].x * 8) - (ed.levx * 40 * 8), (customentities[i].y * 8) - (ed.levy * 30 * 8), 8, 8, graphics.getRGB(255, 164, 164));
707706
break;
708707
case 9: //Shiny Trinket

desktop_version/src/Render.cpp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1955,15 +1955,13 @@ void gamerender(void)
19551955
graphics.bprint(304 - coinstring.length() * 8, 231, coinstring, color, color, 196);
19561956

19571957
if (!graphics.notextoutline) {
1958-
graphics.setcolreal(graphics.getRGB(0, 0, 0));
1959-
graphics.drawhuetile(310, 230, 48);
1960-
graphics.drawhuetile(312, 230, 48);
1961-
graphics.drawhuetile(311, 229, 48);
1962-
graphics.drawhuetile(311, 231, 48);
1958+
graphics.drawhuetile(310, 230, 48, graphics.getRGB(0, 0, 0));
1959+
graphics.drawhuetile(312, 230, 48, graphics.getRGB(0, 0, 0));
1960+
graphics.drawhuetile(311, 229, 48, graphics.getRGB(0, 0, 0));
1961+
graphics.drawhuetile(311, 231, 48, graphics.getRGB(0, 0, 0));
19631962
}
19641963

1965-
graphics.setcolreal(graphics.getRGB(color, color, 196));
1966-
graphics.drawhuetile(311, 230, 48);
1964+
graphics.drawhuetile(311, 230, 48, graphics.getRGB(color, color, 196));
19671965
}
19681966

19691967
if (map.roomtexton)

0 commit comments

Comments
 (0)