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 71dd39401..3d155b179 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -1177,7 +1177,7 @@ int read_petdb()
if( pet->db[j].equip_script )
{
script->free_code(pet->db[j].equip_script);
- pet->db[j].pet_script = NULL;
+ pet->db[j].equip_script = NULL;
}
}