From e8af9a2ecae53d00c2c335ac76802966c3681342 Mon Sep 17 00:00:00 2001 From: xHire Date: Mon, 7 Jul 2008 11:04:41 +0000 Subject: - fixed problem with PREFIX - fixed problem when compiling without sound git-svn-id: http://opensvn.csie.org/tuxanci_ng@114 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/client/image.c | 6 +++--- src/client/image.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client') 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 -- cgit v1.2.3