summaryrefslogtreecommitdiff
path: root/src/map/unit.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-18 21:59:20 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-18 21:59:20 +0000
commitf26dbc30528f8627310fa03f46cefd940ee40588 (patch)
treeed89bb354699d2a5fb34b3b7022f37bc2b68b375 /src/map/unit.h
parent2bc59ef9db7a86d0c483e3848ead57d6d691e6a3 (diff)
downloadhercules-f26dbc30528f8627310fa03f46cefd940ee40588.tar.gz
hercules-f26dbc30528f8627310fa03f46cefd940ee40588.tar.bz2
hercules-f26dbc30528f8627310fa03f46cefd940ee40588.tar.xz
hercules-f26dbc30528f8627310fa03f46cefd940ee40588.zip
Fixed some gcc-specific stuff, silenced some more warnings
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11515 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.h')
-rw-r--r--src/map/unit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/unit.h b/src/map/unit.h
index 1880b3b99..6c6124f5c 100644
--- a/src/map/unit.h
+++ b/src/map/unit.h
@@ -29,7 +29,7 @@ int unit_set_walkdelay(struct block_list *bl, unsigned int tick, int delay, int
int unit_escape(struct block_list *bl, struct block_list *target, short dist);
// 位置の強制移動(吹き飛ばしなど)
int unit_movepos(struct block_list *bl, short dst_x, short dst_y, int easy, bool checkpath);
-int unit_warp(struct block_list *bl, short map, short x, short y, uint8 type);
+int unit_warp(struct block_list *bl, short map, short x, short y, int type);
int unit_setdir(struct block_list *bl,unsigned char dir);
uint8 unit_getdir(struct block_list *bl);
@@ -61,8 +61,8 @@ void unit_dataset(struct block_list *bl);
int unit_fixdamage(struct block_list *src,struct block_list *target,unsigned int tick,int sdelay,int ddelay,int damage,int div,int type,int damage2);
// その他
struct unit_data* unit_bl2ud(struct block_list *bl);
-int unit_remove_map(struct block_list *bl, uint8 clrtype);
-int unit_free(struct block_list *bl, uint8 clrtype);
+int unit_remove_map(struct block_list *bl, int clrtype);
+int unit_free(struct block_list *bl, int clrtype);
int unit_changeviewsize(struct block_list *bl,short size);
// 初期化ルーチン