mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-22 18:20:13 +01:00
Bug-Fix: Fixed commands and socials list for mobs (thanks Rumble)
This commit is contained in:
parent
97661bb017
commit
0bde43f70b
2 changed files with 4 additions and 1 deletions
|
|
@ -965,7 +965,9 @@ void column_list(struct char_data *ch, int num_cols, const char **list, int list
|
|||
max_len = strlen(list[i]);
|
||||
|
||||
/* Calculate the width of each column */
|
||||
col_width = (GET_SCREEN_WIDTH(ch)) / num_cols;
|
||||
if (IS_NPC(ch)) col_width = 80 / num_cols;
|
||||
else col_width = (GET_SCREEN_WIDTH(ch)) / num_cols;
|
||||
|
||||
if (show_nums) col_width-=4;
|
||||
|
||||
if (col_width < max_len)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue