summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-01 18:52:31 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-01 18:52:31 +0000
commitafda30c346bbf44415f330f92cd03428ad1e652b (patch)
tree080c98cfa96372ff15262ac7a1f590e3b9894696
parent603809e55d5c146e4dcd4ae451c5c715e2b672ba (diff)
downloadhercules-afda30c346bbf44415f330f92cd03428ad1e652b.tar.gz
hercules-afda30c346bbf44415f330f92cd03428ad1e652b.tar.bz2
hercules-afda30c346bbf44415f330f92cd03428ad1e652b.tar.xz
hercules-afda30c346bbf44415f330f92cd03428ad1e652b.zip
- Fixed @mobinfo displaying the wrong element.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6913 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/atcommand.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index faf9ac3c4..567466472 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/06/01
+ * Fixed @mobinfo displaying the wrong element. [Skotlex]
* Fixed Autoblitz taking into account target's luck rather than attacker's
[Skotlex]
* Fixed slaves warping endlessly to their master when the master-slave
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index f481677cf..a98ecc322 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -9331,7 +9331,7 @@ int atcommand_mobinfo(
{
unsigned char msize[3][7] = {"Small", "Medium", "Large"};
unsigned char mrace[12][11] = {"Formless", "Undead", "Beast", "Plant", "Insect", "Fish", "Demon", "Demi-Human", "Angel", "Dragon", "Boss", "Non-Boss"};
- unsigned char melement[11][8] = {"None", "Neutral", "Water", "Earth", "Fire", "Wind", "Poison", "Holy", "Dark", "Ghost", "Undead"};
+ unsigned char melement[10][8] = {"Neutral", "Water", "Earth", "Fire", "Wind", "Poison", "Holy", "Dark", "Ghost", "Undead"};
char atcmd_output2[200];
struct item_data *item_data;
struct mob_db *mob, *mob_array[MAX_SEARCH];