Skip to content

Commit eb6f897

Browse files
committed
Reword comment, strip out ct
1 parent 60e9e40 commit eb6f897

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

desktop_version/src/Editor.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -743,14 +743,15 @@ void editorrender(void)
743743
break;
744744
case 14: //Teleporter
745745
{
746-
graphics.setcol(100);
747746
int ex = (customentities[i].x * 8) - (ed.levx * 40 * 8);
748747
int ey = (customentities[i].y * 8) - (ed.levy * 30 * 8);
749-
graphics.drawtele(ex, ey, 1, graphics.ct.colour);
748+
graphics.drawtele(ex, ey, 1, graphics.getcol(100));
750749
fillboxabs(ex, ey, 8 * 12, 8 * 12, graphics.getRGB(164, 164, 255));
751750

752-
// For debugging, left in on purpose
753-
// Maybe make this more useful and uncomment it? (And drawn better...)
751+
// Originally intended for debugging.
752+
// When the game is moved to use SDL_Renderer,
753+
// this can be drawn a lot better, and can be uncommented.
754+
754755
/*
755756
for (int j = 0; j <= 100; j++)
756757
{

0 commit comments

Comments
 (0)