summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-02 16:07:12 +0200
committerGitHub <noreply@github.com>2018-06-02 16:07:12 +0200
commit889141992544b20747fdd337cf0ebf4c36ef01b9 (patch)
tree0bbab7379dd7710d325db6261ca0911a9042a500 /src/map/script.c
parent9370c15bc97eeabb9b0c98898520b2daca22bcf5 (diff)
parent031cdbe5b3f108d7a732c230d061c567de723a75 (diff)
downloadhercules-889141992544b20747fdd337cf0ebf4c36ef01b9.tar.gz
hercules-889141992544b20747fdd337cf0ebf4c36ef01b9.tar.bz2
hercules-889141992544b20747fdd337cf0ebf4c36ef01b9.tar.xz
hercules-889141992544b20747fdd337cf0ebf4c36ef01b9.zip
Merge pull request #2038 from 4144/msi
Improve msgstring table usage
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index caa5d5ae0..4b078d745 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -43,6 +43,7 @@
#include "map/map.h"
#include "map/mapreg.h"
#include "map/mercenary.h"
+#include "map/messages.h"
#include "map/mob.h"
#include "map/npc.h"
#include "map/party.h"
@@ -21837,7 +21838,9 @@ BUILDIN(setcashmount)
return true;
if (pc_hasmount(sd)) {
- clif->msgtable(sd, MSG_REINS_CANT_USE_MOUNTED);
+#if PACKETVER >= 20110531
+ clif->msgtable(sd, MSG_FAIELD_RIDING_OVERLAPPED);
+#endif
script_pushint(st, 0); // Can't mount with one of these
} else {
if (sd->sc.data[SC_ALL_RIDING]) {