Explorar o código

Reverted the basilica knockback patch (r12852( because it causes bad position desync (bugreport:1710).
Needs a correct implementation.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12869 54d463be-8e91-2dee-dedb-b68131a5f0ec

ultramage %!s(int64=17) %!d(string=hai) anos
pai
achega
0860dc9583
Modificáronse 1 ficheiros con 1 adicións e 7 borrados
  1. 1 7
      src/map/unit.c

+ 1 - 7
src/map/unit.c

@@ -220,13 +220,7 @@ static int unit_walktoxy_timer(int tid, unsigned int tick, int id, intptr data)
 
 	if(i > 0)
 		ud->walktimer = add_timer(tick+i,unit_walktoxy_timer,id,i);
-		
-	if (map_getcell(bl->m,x,y,CELL_CHKBASILICA)) {
-		skill_blown(bl,bl,2,unit_getdir(bl),0);
-		clif_fixpos(bl);
-	}
-	
-	if(ud->state.running) {
+	else if(ud->state.running) {
 		//Keep trying to run.
 		if (!unit_run(bl))
 			ud->state.running = 0;