mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
Look at 2.Mail (#36)
* Added %log%, and made %send%, %echo%, etc. not force capitalization. * Fixed Previous Commit * Really fixed this time. * Fixed look 2.mail Also reverted CMMAND_TERMS, was increased in previous commit when it didn't need to be due to the removed of marena.
This commit is contained in:
parent
023348b0a0
commit
25e8daa43e
1 changed files with 4 additions and 3 deletions
|
@ -704,6 +704,7 @@ ACMD(do_look)
|
|||
{
|
||||
int look_type;
|
||||
int found = 0;
|
||||
char tempsave[MAX_INPUT_LENGTH];
|
||||
|
||||
if (!ch->desc)
|
||||
return;
|
||||
|
@ -724,7 +725,7 @@ ACMD(do_look)
|
|||
if (!*arg)
|
||||
send_to_char(ch, "Read what?\r\n");
|
||||
else
|
||||
look_at_target(ch, arg);
|
||||
look_at_target(ch, strcpy(tempsave, arg));
|
||||
return;
|
||||
}
|
||||
if (!*arg) /* "look" alone, without an argument at all */
|
||||
|
@ -735,7 +736,7 @@ ACMD(do_look)
|
|||
else if ((look_type = search_block(arg, dirs, FALSE)) >= 0)
|
||||
look_in_direction(ch, look_type);
|
||||
else if (is_abbrev(arg, "at"))
|
||||
look_at_target(ch, arg2);
|
||||
look_at_target(ch, strcpy(tempsave, arg2));
|
||||
else if (is_abbrev(arg, "around")) {
|
||||
struct extra_descr_data *i;
|
||||
|
||||
|
@ -749,7 +750,7 @@ ACMD(do_look)
|
|||
if (!found)
|
||||
send_to_char(ch, "You couldn't find anything noticeable.\r\n");
|
||||
} else
|
||||
look_at_target(ch, arg);
|
||||
look_at_target(ch, strcpy(tempsave, arg));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue