diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-13 00:45:55 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-13 00:45:55 +0000 |
commit | 3cf706a09c00cf3ceee18a1a26446e3edafdbbec (patch) | |
tree | d6238ce920f94a6fb31d94da69e2cb4094478e3b /src/map/unit.c | |
parent | ca5e45d061b2d70499651d437a2d7f97f0ebbb67 (diff) | |
download | hercules-3cf706a09c00cf3ceee18a1a26446e3edafdbbec.tar.gz hercules-3cf706a09c00cf3ceee18a1a26446e3edafdbbec.tar.bz2 hercules-3cf706a09c00cf3ceee18a1a26446e3edafdbbec.tar.xz hercules-3cf706a09c00cf3ceee18a1a26446e3edafdbbec.zip |
- Changed slave chasing from using unit_walktobl to map_search_freecell + unit_walktoxy, since the previous behaviour makes all slaves always end up on the same cell.
- Changed some function declarations to take x,y arguments as short rather than int.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6024 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 599ed6a3e..a24cfc723 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -423,7 +423,7 @@ int unit_getdir(struct block_list *bl) //Warps a unit/ud to a given map/position.
//In the case of players, pc_setpos is used.
//it respects the no warp flags, so it is safe to call this without doing nowarpto/nowarp checks.
-int unit_warp(struct block_list *bl,int m,int x,int y,int type)
+int unit_warp(struct block_list *bl,int m,short x,short y,int type)
{
struct unit_data *ud;
nullpo_retr(0, bl);
|