summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-03 02:51:45 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-03 02:51:45 +0000
commitdd90153762be1de239e2e6d244dd25d50e5c2fe4 (patch)
tree75a2e3b38d74a859b731357bcfd03a1ebdfa138f /src/map/battle.c
parent6c1bf412e2ed8a8578c55149dd64e3755499f2af (diff)
downloadhercules-dd90153762be1de239e2e6d244dd25d50e5c2fe4.tar.gz
hercules-dd90153762be1de239e2e6d244dd25d50e5c2fe4.tar.bz2
hercules-dd90153762be1de239e2e6d244dd25d50e5c2fe4.tar.xz
hercules-dd90153762be1de239e2e6d244dd25d50e5c2fe4.zip
- Added the skill-related variables to pet_data, removed the pet skill delay structure.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5440 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c3
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;