summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-01-07 22:06:07 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-01-07 22:06:07 +0000
commitc50a6b3ea537a99cbe303361dfa94212817fc120 (patch)
tree97a64e1360e965d90128159268a540056a3b7254
parent6a740c8ea3f72bf6cc4a2bb91dd55e511dbcbb80 (diff)
downloadhercules-c50a6b3ea537a99cbe303361dfa94212817fc120.tar.gz
hercules-c50a6b3ea537a99cbe303361dfa94212817fc120.tar.bz2
hercules-c50a6b3ea537a99cbe303361dfa94212817fc120.tar.xz
hercules-c50a6b3ea537a99cbe303361dfa94212817fc120.zip
* Fixed @alootid using 'autolootitem' (internal name) in it's usage message (bugreport:1445, since r12203).
- Reworded the turn off message of @alootid. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14654 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/atcommand.c8
2 files changed, 7 insertions, 4 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index c7fd00ea3..e7cf3f88a 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -1,5 +1,8 @@
Date Added
+2011/01/07
+ * Fixed @alootid using 'autolootitem' (internal name) in it's usage message (bugreport:1445, since r12203). [Ai4rei]
+ - Reworded the turn off message of @alootid.
2011/01/06
* Fixed script command 'deletearray' deleting incorrect amount of array elements from arrays with empty elements (bugreport:4628). [Ai4rei]
2011/01/05
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 2747a8bfa..0979a14f8 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -6095,7 +6095,7 @@ ACMD_FUNC(autoloot)
}
/*==========================================
- * @autolootitem
+ * @alootid
*------------------------------------------*/
ACMD_FUNC(autolootitem)
{
@@ -6104,9 +6104,9 @@ ACMD_FUNC(autolootitem)
if (!message || !*message) {
if (sd->state.autolootid) {
sd->state.autolootid = 0;
- clif_displaymessage(fd, "Autolootitem have been turned OFF.");
+ clif_displaymessage(fd, "Autolootitem has been turned OFF.");
} else
- clif_displaymessage(fd, "Please, enter Item name or its ID (usage: @autolootitem <item_name_or_ID>).");
+ clif_displaymessage(fd, "Please, enter item name or it's ID (usage: @alootid <item_name_or_ID>).");
return -1;
}
@@ -6122,7 +6122,7 @@ ACMD_FUNC(autolootitem)
sd->state.autolootid = item_data->nameid; // Autoloot Activated
- sprintf(atcmd_output, "Autolooting Item: '%s'/'%s' {%d}",
+ sprintf(atcmd_output, "Autolooting item: '%s'/'%s' (%d)",
item_data->name, item_data->jname, item_data->nameid);
clif_displaymessage(fd, atcmd_output);