Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-andreas committed Jun 24, 2013
1 parent 09c446f commit d1d6c16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void plotSweeper(sdlgamestate_t *g, const Sweeper &sweeper) {

// Part of the screen we want to draw the sprite to
SDL_Rect destination;
destination.x = sweeper.posx-16;
destination.y = sweeper.posy-16;
destination.x = sweeper.posx-11;
destination.y = sweeper.posy-13;
destination.w = 32;
destination.h = 32;

Expand Down Expand Up @@ -53,8 +53,8 @@ void plotMines(const sdlgamestate_t *g) {
SDL_Rect destination;
destination.x = i->posx-2;
destination.y = i->posy-2;
destination.w = 20;
destination.h = 20;
destination.w = 5;
destination.h = 5;

SDL_BlitSurface(g->bitmaps.mine, &source, g->screen, &destination);
}
Expand Down
Binary file modified res/sweeper.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d1d6c16

Please sign in to comment.