summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-22 01:49:22 +0200
committerHaru <haru@dotalux.com>2014-10-24 00:59:21 +0200
commit3be853cff81fbdc590fc5538b60951f0179945f8 (patch)
tree9beef2a35af9e9d13d02779a55e6939535c47b4d /src/map/atcommand.c
parent138352558b04de199139d5f8124d6e3c24df8008 (diff)
downloadhercules-3be853cff81fbdc590fc5538b60951f0179945f8.tar.gz
hercules-3be853cff81fbdc590fc5538b60951f0179945f8.tar.bz2
hercules-3be853cff81fbdc590fc5538b60951f0179945f8.tar.xz
hercules-3be853cff81fbdc590fc5538b60951f0179945f8.zip
Renamed ismounting, setmounting, @mount2
To avoid ambiguity: - The script command ismounting is now hascashmount - The script command setmounting is now setcashmount - The at-command @mount2 is now @cashmount Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 9472fe36d..ef528c454 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -8357,7 +8357,8 @@ ACMD(charcommands)
return true;
}
/* for new mounts */
-ACMD(mount2) {
+ACMD(cashmount)
+{
if (pc_hasmount(sd)) {
clif->message(fd, msg_txt(1476)); // You are already mounting something else
@@ -8365,7 +8366,7 @@ ACMD(mount2) {
}
clif->message(sd->fd,msg_txt(1362)); // NOTICE: If you crash with mount your LUA is outdated.
- if( !(sd->sc.data[SC_ALL_RIDING]) ) {
+ if (!sd->sc.data[SC_ALL_RIDING]) {
clif->message(sd->fd,msg_txt(1363)); // You have mounted.
sc_start(NULL,&sd->bl,SC_ALL_RIDING,100,0,-1);
} else {
@@ -9633,7 +9634,7 @@ void atcommand_basecommands(void) {
ACMD_DEF2("rmvperm", addperm),
ACMD_DEF(unloadnpcfile),
ACMD_DEF(cart),
- ACMD_DEF(mount2),
+ ACMD_DEF(cashmount),
ACMD_DEF(join),
ACMD_DEF(channel),
ACMD_DEF(fontcolor),