From 174ade9a45988abf053cf45f30775fc6a76e706e Mon Sep 17 00:00:00 2001 From: zephyrus Date: Fri, 14 Aug 2009 14:03:53 +0000 Subject: - Fixes and optimization to instancing. Thanks to Saithis git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14006 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 2ded5e38b..17a8917cd 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3890,7 +3890,7 @@ int pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y if( map[m].flag.src4instance && sd->status.party_id && (p = party_search(sd->status.party_id)) != NULL && p->instance_id ) { // Request the mapid of this src map into the instance of the party - int im = instance_map2imap(m, sd->status.party_id, 0); + int im = instance_map2imap(m, p->instance_id); if( im < 0 ) ; // Player will enter the src map for instances else -- cgit v1.2.3-70-g09d2