diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-07 15:37:35 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-07 15:37:35 +0000 |
commit | 120b4028f5f30b7e8f989d0f2418147d0a8cf82a (patch) | |
tree | a07e0d0f4924412175c3fd1c425d17d5022b462e /src/map/atcommand.c | |
parent | e84ac0585ad0164b228684372e16c71c07ccf6df (diff) | |
download | hercules-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
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)
|