summaryrefslogtreecommitdiff
path: root/src/modules/modWall.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-17 20:49:03 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-17 20:49:03 +0000
commit77465c2629ef63629d69c97a0af60a47a07ce7f5 (patch)
tree3d361898d0f29f4b789e52682e0945c741df6cb0 /src/modules/modWall.c
parentb6af4e925f4cf9dd284728e846b99e1de776ec31 (diff)
- opravena chyba, tux mophol pomocou bombballu vybuchnuteho v objekte do ktoreho sa dostal ako duch pridavat itemy
- kod namiesto SDL_Surface pouziva moj typ image_t git-svn-id: http://opensvn.csie.org/tuxanci_ng@154 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/modules/modWall.c')
-rwxr-xr-xsrc/modules/modWall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/modWall.c b/src/modules/modWall.c
index c2cf69e..0422bbe 100755
--- a/src/modules/modWall.c
+++ b/src/modules/modWall.c
@@ -36,7 +36,7 @@ typedef struct wall_struct
int layer; // vrstva
#ifndef PUBLIC_SERVER
- SDL_Surface *img; //obrazok
+ image_t *img; //obrazok
#endif
} wall_t;
@@ -52,7 +52,7 @@ static list_t *listWall;
#ifndef PUBLIC_SERVER
wall_t* newWall(int x, int y, int w, int h,
- int img_x, int img_y, int layer, SDL_Surface *img)
+ int img_x, int img_y, int layer, image_t *img)
#endif
#ifdef PUBLIC_SERVER