diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-29 14:10:22 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-29 14:10:22 +0000 |
commit | 5723fdae682d71948b2b10161e336d36ea03bdfa (patch) | |
tree | a49f68754a7b3a50cd81751329f5100f2d41e550 /src/map/map.h | |
parent | 0a68e706bac90f56073f3ad2a30c4bada260225c (diff) | |
download | hercules-5723fdae682d71948b2b10161e336d36ea03bdfa.tar.gz hercules-5723fdae682d71948b2b10161e336d36ea03bdfa.tar.bz2 hercules-5723fdae682d71948b2b10161e336d36ea03bdfa.tar.xz hercules-5723fdae682d71948b2b10161e336d36ea03bdfa.zip |
- Fixed pc_readparam/pc_setparam to use battle_status.hp/sp rather than status.hp/sp, fixes scripts reading the wrong Hp/Sp values
- Added some missing SC_* entries on the initial listing (potion related and speed up ones)
- Fixed function declaration of map_getcellp()
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6817 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/map.h b/src/map/map.h index adbf76620..23d920011 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -1372,11 +1372,11 @@ int map_setwaterheight(int m, char *mapname, int height); int map_waterheight(char *mapname);
// path.c‚æ‚è
-int path_search_real(struct walkpath_data *wpd,int m,int x0,int y0,int x1,int y1,int flag,int flag2);
+int path_search_real(struct walkpath_data *wpd,int m,int x0,int y0,int x1,int y1,int flag,cell_t flag2);
#define path_search(wpd,m,x0,y0,x1,y1,flag) path_search_real(wpd,m,x0,y0,x1,y1,flag,CELL_CHKNOPASS)
#define path_search2(wpd,m,x0,y0,x1,y1,flag) path_search_real(wpd,m,x0,y0,x1,y1,flag,CELL_CHKWALL)
-int path_search_long_real(struct shootpath_data *spd,int m,int x0,int y0,int x1,int y1,int flag);
+int path_search_long_real(struct shootpath_data *spd,int m,int x0,int y0,int x1,int y1,cell_t flag);
#define path_search_long(spd,m,x0,y0,x1,y1) path_search_long_real(spd,m,x0,y0,x1,y1,CELL_CHKWALL)
int path_blownpos(int m,int x0,int y0,int dx,int dy,int count);
|