From 120b4028f5f30b7e8f989d0f2418147d0a8cf82a Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 7 Jun 2006 15:37:35 +0000 Subject: - 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 --- Changelog-Trunk.txt | 1 + src/map/atcommand.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2