mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-11 07:12:33 +01:00
Stat zone no arg defaults to current zone and fixed shop listing color formatting. --Rumble
This commit is contained in:
parent
52194dacdd
commit
9b3bc051f9
4 changed files with 6 additions and 4 deletions
|
|
@ -817,7 +817,7 @@ char *list_object(struct obj_data *obj, int cnt, int aindex, int shop_nr, struct
|
|||
}
|
||||
CAP(itemname);
|
||||
|
||||
snprintf(result, sizeof(result), " %2d) %9s %-*s %6d\r\n", aindex, quantity, 48 - count_color_chars(itemname), itemname, buy_price(obj, shop_nr, keeper, ch));
|
||||
snprintf(result, sizeof(result), " %2d) %9s %-*s %6d\r\n", aindex, quantity, count_color_chars(itemname)+48, itemname, buy_price(obj, shop_nr, keeper, ch));
|
||||
|
||||
return (result);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue