summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-25 11:20:28 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-25 11:20:28 +0000
commitf648a45e89b40f972f1016da1cc87ff780faaba9 (patch)
treee4f8867db08e45396087784144e2150e30185d6b /src/map/script.c
parenta8c81ca65f67b8864845178a11aea1012b2229e7 (diff)
downloadhercules-f648a45e89b40f972f1016da1cc87ff780faaba9.tar.gz
hercules-f648a45e89b40f972f1016da1cc87ff780faaba9.tar.bz2
hercules-f648a45e89b40f972f1016da1cc87ff780faaba9.tar.xz
hercules-f648a45e89b40f972f1016da1cc87ff780faaba9.zip
Removed pc_cant_newmount since it has been proved newer clients still support them.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15966 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c
index fac58418d..14ee625f7 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -7484,8 +7484,6 @@ BUILDIN_FUNC(setoption)
if( flag ){// Add option
if( option&OPTION_WEDDING && !battle_config.wedding_modifydisplay )
option &= ~OPTION_WEDDING;// Do not show the wedding sprites
- else if ( option&OPTION_MOUNTING && pc_cant_newmount(sd) )
- option &= ~OPTION_MOUNTING;
pc_setoption(sd, sd->sc.option|option);
} else// Remove option
pc_setoption(sd, sd->sc.option&~option);
@@ -15810,7 +15808,7 @@ BUILDIN_FUNC(setmounting) {
TBL_PC* sd;
if( (sd = script_rid2sd(st)) == NULL )
return 0;
- if( sd->sc.option&(OPTION_WUGRIDER|OPTION_RIDING|OPTION_DRAGON|OPTION_MADOGEAR) || pc_cant_newmount(sd) )
+ if( sd->sc.option&(OPTION_WUGRIDER|OPTION_RIDING|OPTION_DRAGON|OPTION_MADOGEAR) )
script_pushint(st,0);//can't mount with one of these
else {
if( sd->sc.option&OPTION_MOUNTING )