mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-21 16:36:09 +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);
|
||||
|
|
|
|||
|
|
@ -2382,12 +2382,12 @@ void send_to_all(const char *messg, ...)
|
|||
void send_to_outdoor(const char *messg, ...)
|
||||
{
|
||||
struct descriptor_data *i;
|
||||
va_list args;
|
||||
|
||||
if (!messg || !*messg)
|
||||
return;
|
||||
|
||||
for (i = descriptor_list; i; i = i->next) {
|
||||
va_list args;
|
||||
|
||||
if (STATE(i) != CON_PLAYING || i->character == NULL)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue