diff options
author | panikon <panikon@zoho.com> | 2014-07-10 02:02:59 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-07-10 02:02:59 -0300 |
commit | 9dd6ee636b783f1cd57b1be3d02fcc9782ebe2c3 (patch) | |
tree | b633ab7d298a279b21d1cc0fafe8884deccd30f8 /src/map/atcommand.c | |
parent | 222345170f781b0cc19dfb99e0820098097a1254 (diff) | |
download | hercules-9dd6ee636b783f1cd57b1be3d02fcc9782ebe2c3.tar.gz hercules-9dd6ee636b783f1cd57b1be3d02fcc9782ebe2c3.tar.bz2 hercules-9dd6ee636b783f1cd57b1be3d02fcc9782ebe2c3.tar.xz hercules-9dd6ee636b783f1cd57b1be3d02fcc9782ebe2c3.zip |
Corrected some SC behaviour, special thanks to Rytech
- Extracted some methods to check SC blocks
- Fixed issue that when players couldn't attack they couldn't talk to NPCs with mob view id either
Follow up to ec51176326c6028630835538db67826281d34ffe, fixed minor typo
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 9162d1c45..d36e98c41 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -3933,7 +3933,7 @@ ACMD(mount_peco) return true; } if( (sd->class_&MAPID_THIRDMASK) == MAPID_RANGER ) { - if( !pc->checkskill(sd,RA_WUGRIDER) > 0 ) { + if( !pc->checkskill(sd,RA_WUGRIDER) ) { sprintf(atcmd_output, msg_txt(213), skill->get_desc(RA_WUGRIDER)); // You need %s to mount! clif->message(fd, atcmd_output); return false; |