diff options
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 4a5105d84..f985f69f2 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -129,8 +129,7 @@ int battle_getcurrentskill(struct block_list *bl) case BL_MOB:
return ((struct mob_data*)bl)->skillid;
case BL_PET:
- return 0; //Skill data is not stored for pets...
- break;
+ return ((struct pet_data*)bl)->skillid;
case BL_SKILL:
{
struct skill_unit * su = (struct skill_unit*)bl;
|