From 5792a98ec3a549d28037c65465db8c64e009823d Mon Sep 17 00:00:00 2001 From: ultramage Date: Wed, 31 Oct 2007 13:20:48 +0000 Subject: * 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 --- src/map/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/unit.c') 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; -- cgit v1.2.3-60-g2f50