diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2013-06-16 23:48:14 -0700 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2013-06-16 23:48:14 -0700 |
commit | 23167727ed5e798f12e2b9140b405b83003186e7 (patch) | |
tree | b7ce2c7b39f663fecc0575f81ec07ca22356b452 /src/map/script.c | |
parent | f33c54e76be4f3fea6a21aab40fe13feb952239d (diff) | |
download | hercules-23167727ed5e798f12e2b9140b405b83003186e7.tar.gz hercules-23167727ed5e798f12e2b9140b405b83003186e7.tar.bz2 hercules-23167727ed5e798f12e2b9140b405b83003186e7.tar.xz hercules-23167727ed5e798f12e2b9140b405b83003186e7.zip |
Fixed Bug#7381 & #7379
-Reins_of_Mount should now ignore delay(when fail) and sitting condition.
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index 15870aaa7..823febbc6 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -16520,9 +16520,10 @@ BUILDIN(setmounting) { TBL_PC* sd; if( (sd = script_rid2sd(st)) == NULL ) return true; - if( sd->sc.option&(OPTION_WUGRIDER|OPTION_RIDING|OPTION_DRAGON|OPTION_MADOGEAR) ) + if( sd->sc.option&(OPTION_WUGRIDER|OPTION_RIDING|OPTION_DRAGON|OPTION_MADOGEAR) ){ + clif->msgtable(sd->fd, 0X78b); script_pushint(st,0);//can't mount with one of these - else { + }else { if( sd->sc.data[SC_ALL_RIDING] ) status_change_end(&sd->bl, SC_ALL_RIDING, INVALID_TIMER); else |