Permalink
Browse files

green circle is in the wrong spot

  • Loading branch information...
1 parent 1290096 commit 96747e1ceef1c6c11247d19aebf2718a39876427 @eclecticc eclecticc committed Sep 18, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 sosg/sosg_predict.c
View
@@ -241,8 +241,8 @@ static int sosg_predict_update_sats(sosg_predict_p predict)
pos.y = predict->sats[i].y - predict->sat_icon->h/2;
// highlight visible satellites
if (predict->sats[i].visibility == 'V') {
- filledCircleColor(predict->update_surf, pos.x, pos.y,
- predict->sat_icon->w/2, PREDICT_VISIBLE);
+ filledCircleColor(predict->update_surf, predict->sats[i].x,
+ predict->sats[i].y, predict->sat_icon->w/2, PREDICT_VISIBLE);
}
SDL_BlitSurface(predict->sat_icon, NULL, predict->update_surf, &pos);
// put the name next to the icon

0 comments on commit 96747e1

Please sign in to comment.