Bug-Fix: Fixed commands and socials list for mobs (thanks Rumble)
This commit is contained in:
@@ -37,6 +37,7 @@ Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
|||||||
[Apr 11 2009] - Jamdog
|
[Apr 11 2009] - Jamdog
|
||||||
Bug-Fix: NPC check added to do_gen_ps function (thanks drefs)
|
Bug-Fix: NPC check added to do_gen_ps function (thanks drefs)
|
||||||
Bug-Fix: Fixed crash bug in remove_player where index entry is removed too early (thanks drefs)
|
Bug-Fix: Fixed crash bug in remove_player where index entry is removed too early (thanks drefs)
|
||||||
|
Bug-Fix: Commands and Socials list correctly when switched into a mob (thanks Rumble)
|
||||||
[Apr 06 2009] - Jamdog
|
[Apr 06 2009] - Jamdog
|
||||||
Bug-Fix: Changing a player name no longer allows two words (thanks Slicer)
|
Bug-Fix: Changing a player name no longer allows two words (thanks Slicer)
|
||||||
[Apr 05 2009] - Jamdog
|
[Apr 05 2009] - Jamdog
|
||||||
|
|||||||
@@ -965,7 +965,9 @@ void column_list(struct char_data *ch, int num_cols, const char **list, int list
|
|||||||
max_len = strlen(list[i]);
|
max_len = strlen(list[i]);
|
||||||
|
|
||||||
/* Calculate the width of each column */
|
/* 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 (show_nums) col_width-=4;
|
||||||
|
|
||||||
if (col_width < max_len)
|
if (col_width < max_len)
|
||||||
|
|||||||
Reference in New Issue
Block a user