diff options
author | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-06-17 09:06:29 +0000 |
---|---|---|
committer | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-06-17 09:06:29 +0000 |
commit | a36580661f18d01c8b4f97be7d56d827df520638 (patch) | |
tree | c5babaf95002c2b1c87581c8736bfa6a9ca0ae41 /src/map/status.c | |
parent | 0e7c4d6eec53794c34137dd1b4f540f22772f003 (diff) | |
download | hercules-a36580661f18d01c8b4f97be7d56d827df520638.tar.gz hercules-a36580661f18d01c8b4f97be7d56d827df520638.tar.bz2 hercules-a36580661f18d01c8b4f97be7d56d827df520638.tar.xz hercules-a36580661f18d01c8b4f97be7d56d827df520638.zip |
Fixed wings not working when used on top of Magnetic Earth.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13896 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 20c4e072a..54d019a48 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1045,7 +1045,8 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int //Should fail when used on top of Land Protector [Skotlex] if (src && skill_num == AL_TELEPORT && map_getcell(src->m, src->x, src->y, CELL_CHKLANDPROTECTOR) - && !(status->mode&MD_BOSS)) + && !(status->mode&MD_BOSS) + && (src->type != BL_PC || ((TBL_PC*)src)->skillitem != skill_num)) return 0; if (src) sc = status_get_sc(src); |