diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-10 21:26:12 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-10 21:26:12 +0000 |
commit | 852633e420ed06e806ed8fd9e02ee3038b6b1f13 (patch) | |
tree | 08d5b5aa8b09a073b97f3b344812ca6eab0540ab /src/map/unit.c | |
parent | 5d8d40de3112a62e3462c75f138ff675edf91459 (diff) | |
download | hercules-852633e420ed06e806ed8fd9e02ee3038b6b1f13.tar.gz hercules-852633e420ed06e806ed8fd9e02ee3038b6b1f13.tar.bz2 hercules-852633e420ed06e806ed8fd9e02ee3038b6b1f13.tar.xz hercules-852633e420ed06e806ed8fd9e02ee3038b6b1f13.zip |
Fixed a bug in r11384 letting you bypass requirements for some skills (see bugreport:219).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11710 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 6fd7ce871..7d75d6e70 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1094,8 +1094,7 @@ int unit_skilluse_pos2( struct block_list *src, short skill_x, short skill_y, sh sc = NULL; if(sd) { - if (skillnotok(skill_num, sd) || - !skill_check_condition(sd, skill_num, skill_lv,0)) + if (skillnotok(skill_num, sd) || !skill_check_condition(sd, skill_num, skill_lv,0)) return 0; } |