summaryrefslogtreecommitdiff
path: root/src/modules/modTeleport.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/modTeleport.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/modTeleport.c')
-rwxr-xr-xsrc/modules/modTeleport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/modTeleport.c b/src/modules/modTeleport.c
index 785c1a3..1411b88 100755
--- a/src/modules/modTeleport.c
+++ b/src/modules/modTeleport.c
@@ -34,7 +34,7 @@ typedef struct teleport_struct
int layer; // vrstva
#ifndef PUBLIC_SERVER
- SDL_Surface *img; //obrazok
+ image_t *img; //obrazok
#endif
} teleport_t;
@@ -44,7 +44,7 @@ static space_t *spaceTeleport;
static list_t *listTeleport;
#ifndef PUBLIC_SERVER
-teleport_t* newTeleport(int x, int y, int w, int h, int layer, SDL_Surface *img)
+teleport_t* newTeleport(int x, int y, int w, int h, int layer, image_t *img)
#endif
#ifdef PUBLIC_SERVER