summaryrefslogtreecommitdiff
path: root/src/map/path.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-29 14:10:22 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-29 14:10:22 +0000
commit5723fdae682d71948b2b10161e336d36ea03bdfa (patch)
treea49f68754a7b3a50cd81751329f5100f2d41e550 /src/map/path.c
parent0a68e706bac90f56073f3ad2a30c4bada260225c (diff)
downloadhercules-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/path.c')
-rw-r--r--src/map/path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/path.c b/src/map/path.c
index 7e6dd9464..1255f655d 100644
--- a/src/map/path.c
+++ b/src/map/path.c
@@ -237,7 +237,7 @@ int path_blownpos(int m,int x0,int y0,int dx,int dy,int count)
*------------------------------------------
*/
#define swap(x,y) { int t; t = x; x = y; y = t; }
-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)
{
int dx, dy;
int wx = 0, wy = 0;
@@ -306,7 +306,7 @@ int path_search_long_real(struct shootpath_data *spd,int m,int x0,int y0,int x1,
* pathT (x0,y0)->(x1,y1)
*------------------------------------------
*/
-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)
{
int heap[MAX_HEAP+1];
struct tmp_path tp[MAX_WALKPATH*MAX_WALKPATH];