diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-03 00:26:23 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-03 00:26:23 +0000 |
commit | 6c1bf412e2ed8a8578c55149dd64e3755499f2af (patch) | |
tree | fcaef0b4dcd21958b996f51bac56450a61d76e47 | |
parent | df9868064a36bb4e9f61736d0371d25baf6198e2 (diff) | |
download | hercules-6c1bf412e2ed8a8578c55149dd64e3755499f2af.tar.gz hercules-6c1bf412e2ed8a8578c55149dd64e3755499f2af.tar.bz2 hercules-6c1bf412e2ed8a8578c55149dd64e3755499f2af.tar.xz hercules-6c1bf412e2ed8a8578c55149dd64e3755499f2af.zip |
- Fixed a stupid typo that disabled all pet support skills from ever triggering (except ground-based ones)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5439 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/pet.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index ff9ae1186..af6993a95 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -5,6 +5,8 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EV GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
2006/03/02
+ * Fixed a typo that disabled all pet support skills from triggering (except
+ ground-based ones) [Skotlex]
* status_check_skilluse cleanup. Some status will only block skills when
they are first used, not on cast-end (which includes auto-spells and
ground-skill checks). Now when status_castcancel is 'no', skills WILL
diff --git a/src/map/pet.c b/src/map/pet.c index 4249ab1fa..77df949b2 100644 --- a/src/map/pet.c +++ b/src/map/pet.c @@ -331,7 +331,7 @@ static int petskill_castend2(struct pet_data *pd, struct block_list *target, sho if (!target)
return 0;
if(!check_distance_bl(&pd->bl, target,
- skill_get_range2(&pd->bl, skill_id, skill_lv)));
+ skill_get_range2(&pd->bl, skill_id, skill_lv)))
return 0;
if (!status_check_skilluse(&pd->bl, target, skill_id, 1))
return 0;
|