Explorar o código

Fixed warpportal script. bugreport:7451

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

+ 1 - 0
src/map/script.c

@@ -15721,6 +15721,7 @@ BUILDIN_FUNC(warpportal)
 	group = skill_unitsetting(bl, AL_WARP, 4, spx, spy, 0);
 	if( group == NULL )
 		return 0;// failed
+	group->val1 = (group->val1<<16)|(short)0;
 	group->val2 = (tpx<<16) | tpy;
 	group->val3 = mapindex;