summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorxHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-07 11:04:41 +0000
committerxHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-07 11:04:41 +0000
commite8af9a2ecae53d00c2c335ac76802966c3681342 (patch)
treea93b2acae1a6c94aafb1f00602c51a5e97b24653 /src/client
parent24eaa3195f6f7ab7f8dbf68ba6ccb5340df7d2a8 (diff)
- 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
Diffstat (limited to 'src/client')
-rwxr-xr-xsrc/client/image.c6
-rwxr-xr-xsrc/client/image.h2
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