diff options
Diffstat (limited to 'src/client')
| -rwxr-xr-x | src/client/image.c | 6 | ||||
| -rwxr-xr-x | src/client/image.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/client/image.c b/src/client/image.c index d582193..3c3b40f 100755 --- a/src/client/image.c +++ b/src/client/image.c @@ -20,7 +20,7 @@ bool_t isImageInicialized() } /* - * Inicialuzje globalny zoznam obrazkov + * Inicializuje globalny zoznam obrazkov */ void initImageData() { @@ -128,12 +128,12 @@ void drawImage(SDL_Surface *p, int x,int y, int px, int py, int w, int h) dst_rect.x = x; dst_rect.y = y; - + src_rect.x = px; src_rect.y = py; src_rect.w = w; src_rect.h = h; - + SDL_BlitSurface(p, &src_rect, screen, &dst_rect); } diff --git a/src/client/image.h b/src/client/image.h index be3826d..e80efb5 100755 --- a/src/client/image.h +++ b/src/client/image.h @@ -3,7 +3,7 @@ #define IMAGE_H -#include "image.h" +//#include "image.h" #include "interface.h" #define IMAGE_NO_ALPHA 0 |