mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-13 11:34:20 +01:00
Minor changes and a test commit --Rumble
This commit is contained in:
parent
a9a159cc60
commit
82da0e8063
4 changed files with 10 additions and 8 deletions
|
|
@ -1033,12 +1033,7 @@ int search_help(const char *argument, int level)
|
|||
while (level < help_table[mid].min_level && mid < (bot + top) / 2)
|
||||
mid++;
|
||||
|
||||
/* The following line was commented out at some point, by someone, for some reason...
|
||||
* as I am unaware of that reason, and without a level check all help files, including
|
||||
* the ones we may not want a player to see, are available. So I'm reversing this now.
|
||||
* -Vat */
|
||||
if (strn_cmp(argument, help_table[mid].keywords, minlen) || level < help_table[mid].min_level)
|
||||
/*if (strn_cmp(argument, help_table[mid].keywords, minlen))*/
|
||||
break;
|
||||
|
||||
return (mid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue