Explorar o código

- Fixed final instancing bug. Tested Endless Tower and working. I will ask if i can publish it :3

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14008 54d463be-8e91-2dee-dedb-b68131a5f0ec
zephyrus %!s(int64=15) %!d(string=hai) anos
pai
achega
d25e4cc14a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/map/instance.c

+ 1 - 1
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