summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c6
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.");