diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-22 01:31:52 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-22 01:31:52 +0000 |
commit | 1ab8da3d02f841c0e74af10ecc60b63d5c13f5e2 (patch) | |
tree | dcd5d83f11c5465b57cc1fb5d2ea80b5c35f40da /src/map/atcommand.c | |
parent | fea72d3f3c14ce84c86d347ed66339bb50e581f7 (diff) | |
download | hercules-1ab8da3d02f841c0e74af10ecc60b63d5c13f5e2.tar.gz hercules-1ab8da3d02f841c0e74af10ecc60b63d5c13f5e2.tar.bz2 hercules-1ab8da3d02f841c0e74af10ecc60b63d5c13f5e2.tar.xz hercules-1ab8da3d02f841c0e74af10ecc60b63d5c13f5e2.zip |
Fixed bugreport:5468 Swordsman upper classes and ranger are no longer allowed to use reins of mount (new mounts)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15746 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 7de68236c..74021b3db 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -8337,6 +8337,12 @@ ACMD_FUNC(charcommands) } ACMD_FUNC(new_mount) { + + if( pc_cant_newmount(sd) && !(sd->sc.option&OPTION_MOUNTING) ) { + clif_displaymessage(sd->fd,"Your character cannot mount a new mount"); + return -1; + } + clif_displaymessage(sd->fd,"NOTICE: If you crash with mount your LUA is outdated"); if( !(sd->sc.option&OPTION_MOUNTING) ) { clif_displaymessage(sd->fd,"You have mounted."); |