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.c | |
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.c')
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c index 1952acb45..3833acb34 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -2162,7 +2162,7 @@ int map_getcell(int m,int x,int y,cell_t cellchk) return (m < 0 || m >= MAX_MAP_PER_SERVER) ? 0 : map_getcellp(&map[m],x,y,cellchk); } -int map_getcellp(struct map_data* m,int x,int y,int cellchk) +int map_getcellp(struct map_data* m,int x,int y,cell_t cellchk) { int type, type2; #ifdef CELL_NOSTACK |