summaryrefslogtreecommitdiff
path: root/src/map/instance.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-08-15 09:47:23 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-08-15 09:47:23 +0000
commita2fbfec5216caa07a2acb1171a2f9153e46c1642 (patch)
tree515cc662e147519c41f5ee9f636a8536e744cad2 /src/map/instance.c
parent0e6910bc23d657be1d52fa8b58d24c74b70b41ca (diff)
downloadhercules-a2fbfec5216caa07a2acb1171a2f9153e46c1642.tar.gz
hercules-a2fbfec5216caa07a2acb1171a2f9153e46c1642.tar.bz2
hercules-a2fbfec5216caa07a2acb1171a2f9153e46c1642.tar.xz
hercules-a2fbfec5216caa07a2acb1171a2f9153e46c1642.zip
- Fixed final instancing bug. Tested Endless Tower and working. I will ask if i can publish it :3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14008 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/instance.c')
-rw-r--r--src/map/instance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/instance.c b/src/map/instance.c
index c617e60c4..887e0cb24 100644
--- a/src/map/instance.c
+++ b/src/map/instance.c
@@ -169,7 +169,7 @@ int instance_map2imap(int m, int instance_id)
int instance_mapid2imapid(int m, int instance_id)
{
int i, max;
- if( map[m].instance_src_map == 0 )
+ if( map[m].flag.src4instance == 0 )
return m; // not instances found for this map
else if( map[m].instance_id )
{ // This map is a instance, not a src map instance