Skip to content

Commit

Permalink
Remove commented-out lines
Browse files Browse the repository at this point in the history
  • Loading branch information
noncombatant committed May 15, 2023
1 parent 53023d6 commit 8102713
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions robotfindskitten.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,17 +506,12 @@ static void MainLoop(void) {
switch (TouchTest(y, x, &item_number)) {
case TouchTestResultNone:
// Robot moved.
// Game.items[Robot].icon = " ";
// DrawItem(&Game.items[Robot]);
Game.items[Robot].y = y;
Game.items[Robot].x = x;
// Game.items[Robot].icon = "🤖";
move(y, x);
DrawItem(&Game.items[Robot]);
// move(y, x);
// refresh();
// Using RedrawScreen instead of refresh restores the icon the
// robot replaced, but is visibly slower.
// robot touched, but is visibly slower.
RedrawScreen();
break;
case TouchTestResultRobot:
Expand Down

0 comments on commit 8102713

Please sign in to comment.