diff options
author | Haru <haru@dotalux.com> | 2018-06-02 16:07:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-02 16:07:12 +0200 |
commit | 889141992544b20747fdd337cf0ebf4c36ef01b9 (patch) | |
tree | 0bbab7379dd7710d325db6261ca0911a9042a500 /src/map/script.c | |
parent | 9370c15bc97eeabb9b0c98898520b2daca22bcf5 (diff) | |
parent | 031cdbe5b3f108d7a732c230d061c567de723a75 (diff) | |
download | hercules-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.c | 5 |
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]) { |