summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pet.c')
-rw-r--r--src/map/pet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 48e62cfb4..17d97d225 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -1748,7 +1748,7 @@ int pet_recovery_timer(int tid,unsigned int tick,int id,int data)
return 0;
}
- if(sd->sc_data && sd->sc_data[pd->recovery->type].timer != -1)
+ if(sd->sc.count && sd->sc.data[pd->recovery->type].timer != -1)
{ //Display a heal animation?
//Detoxify is chosen for now.
clif_skill_nodamage(&pd->bl,&sd->bl,TF_DETOXIFY,1,1);