summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-07 15:37:35 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-07 15:37:35 +0000
commit120b4028f5f30b7e8f989d0f2418147d0a8cf82a (patch)
treea07e0d0f4924412175c3fd1c425d17d5022b462e
parente84ac0585ad0164b228684372e16c71c07ccf6df (diff)
downloadhercules-120b4028f5f30b7e8f989d0f2418147d0a8cf82a.tar.gz
hercules-120b4028f5f30b7e8f989d0f2418147d0a8cf82a.tar.bz2
hercules-120b4028f5f30b7e8f989d0f2418147d0a8cf82a.tar.xz
hercules-120b4028f5f30b7e8f989d0f2418147d0a8cf82a.zip
- Fixed item info not displaying the weight value properly.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7035 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 d9661da05..dfa4b7c10 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/07
+ * Fixed item info not displaying the weight value properly. [Skotlex]
* Adjusted status resistances and durations taking as base Viccious's info
from the kro guidebook. [Skotlex]
* Moved souldrain code from skill_counter_additional_effect to mob_dead. It
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 859ea567c..0fff320cd 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -9473,7 +9473,7 @@ int atcommand_iteminfo(
);
clif_displaymessage(fd, atcmd_output);
- sprintf(atcmd_output, "NPC Buy:%dz%s, Sell:%dz%s | Weight: %d ", item_data->value_buy, item_data->flag.value_notdc ? "(No Discount!)":"", item_data->value_sell, item_data->flag.value_notoc ? "(No Overcharge!)":"", item_data->weight );
+ sprintf(atcmd_output, "NPC Buy:%dz%s, Sell:%dz%s | Weight: %.1f ", item_data->value_buy, item_data->flag.value_notdc ? "(No Discount!)":"", item_data->value_sell, item_data->flag.value_notoc ? "(No Overcharge!)":"", item_data->weight/10. );
clif_displaymessage(fd, atcmd_output);
if (item_data->maxchance == 10000)