diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-31 13:20:48 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-31 13:20:48 +0000 |
commit | 5792a98ec3a549d28037c65465db8c64e009823d (patch) | |
tree | 43ac7806ce57d4e678cd995d2a1828f5d44978c5 /src/map/unit.c | |
parent | 6e103602b6e23f86fd89f9c48a0846b4243f2c5f (diff) | |
download | hercules-5792a98ec3a549d28037c65465db8c64e009823d.tar.gz hercules-5792a98ec3a549d28037c65465db8c64e009823d.tar.bz2 hercules-5792a98ec3a549d28037c65465db8c64e009823d.tar.xz hercules-5792a98ec3a549d28037c65465db8c64e009823d.zip |
* Added names to the SC_ and SI_ enums, now they can be used to properly indicate where such values are to be used (replaces usage of 'int')
* removed MIN_/MAX_PORTAL_MEMO, set MAX_MEMOPOINTS from 10 to 3
* removed support for @go-ing to your memo points
* simplified the overly verbose @memo command; now re-uses pc_memo()
* cleaned up pc_memo(), now uses semi-correct packet replies
* Minor code cleaning/formatting
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11625 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 c43d1374e..3f5d1673a 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -601,7 +601,7 @@ int unit_warp(struct block_list *bl,short m,short x,short y,int type) } if (bl->type == BL_PC) //Use pc_setpos - return pc_setpos((TBL_PC*)bl, map[m].index, x, y, type); + return pc_setpos((TBL_PC*)bl, map_id2index(m), x, y, type); if (!unit_remove_map(bl, type)) return 3; |