summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 56deae9c7..61046c4e0 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1496,8 +1496,8 @@ int unit_attack(struct block_list *src,int target_id,int continuous)
npc_click(sd,(TBL_NPC*)target); // submitted by leinsirk10 [Celest]
return 0;
}
- if( pc_is90overweight(sd) )
- { // overweight - stop attacking
+ if( pc_is90overweight(sd) || pc_isridingwug(sd) )
+ { // overweight or mounted on warg - stop attacking
unit_stop_attack(src);
return 0;
}