summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-06-26 15:43:44 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-06-26 15:43:44 +0000
commit3ca6e914862e0686ad0812d2ee281b907812e0d6 (patch)
tree054b5094b4aba7218969bd4ceeaad7d4c5629923
parentc0e23cadf3d9f9cb8c91a9d99d252bcc72a6e79e (diff)
downloadhercules-3ca6e914862e0686ad0812d2ee281b907812e0d6.tar.gz
hercules-3ca6e914862e0686ad0812d2ee281b907812e0d6.tar.bz2
hercules-3ca6e914862e0686ad0812d2ee281b907812e0d6.tar.xz
hercules-3ca6e914862e0686ad0812d2ee281b907812e0d6.zip
* Fixed @mobinfo displaying mvp rewards with 'AegisName' although normal drops use 'Name' item db column (bugreport:4981, follow up to r6346).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14868 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/atcommand.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index dad2ae8da..f0b8df90d 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -1,6 +1,7 @@
Date Added
2011/06/26
+ * Fixed @mobinfo displaying mvp rewards with 'AegisName' although normal drops use 'Name' item db column (bugreport:4981, follow up to r6346). [Ai4rei]
* Fixed quest index memory corruption when adding new quests (since r14039, bugreport:4982) [ultramage]
2011/06/25
* Added Mersenne Twister MT19937 as a random number generator. [FlavioJS]
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 04cc872b7..ac7e2e85e 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -6999,9 +6999,9 @@ ACMD_FUNC(mobinfo)
if (mob->mvpitem[i].p > 0) {
j++;
if (j == 1)
- sprintf(atcmd_output2, " %s %02.02f%%", item_data->name, (float)mob->mvpitem[i].p / 100);
+ sprintf(atcmd_output2, " %s %02.02f%%", item_data->jname, (float)mob->mvpitem[i].p / 100);
else
- sprintf(atcmd_output2, " - %s %02.02f%%", item_data->name, (float)mob->mvpitem[i].p / 100);
+ sprintf(atcmd_output2, " - %s %02.02f%%", item_data->jname, (float)mob->mvpitem[i].p / 100);
strcat(atcmd_output, atcmd_output2);
}
}