From f84a74afd7b808756925814d18b8926dbed9c3bd Mon Sep 17 00:00:00 2001 From: Dennis Friis Date: Sat, 5 Apr 2008 22:15:23 +0000 Subject: Comment out packet 0x139 (out of reach for attack), since TMW client does not process this but uses own target system. Also, this will save a ton of CPU and NET traffic because fast attack would make the server call the checks and spew this packet out at a big rate. --- src/map/pc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index f5458e4..067ca35 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4068,8 +4068,8 @@ int pc_attack_timer(int tid,unsigned int tick,int id,int data) range = sd->attackrange; if(sd->status.weapon != 11) range++; if( dist > range ){ // 届 かないので移動 - if(pc_can_reach(sd,bl->x,bl->y)) - clif_movetoattack(sd,bl); + //if(pc_can_reach(sd,bl->x,bl->y)) + //clif_movetoattack(sd,bl); return 0; } -- cgit v1.2.3-70-g09d2