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:
Nauzhror 2018-01-15 17:30:40 -05:00 committed by wyld-sw
parent 023348b0a0
commit 25e8daa43e

View file

@ -704,6 +704,7 @@ ACMD(do_look)
{ {
int look_type; int look_type;
int found = 0; int found = 0;
char tempsave[MAX_INPUT_LENGTH];
if (!ch->desc) if (!ch->desc)
return; return;
@ -724,7 +725,7 @@ ACMD(do_look)
if (!*arg) if (!*arg)
send_to_char(ch, "Read what?\r\n"); send_to_char(ch, "Read what?\r\n");
else else
look_at_target(ch, arg); look_at_target(ch, strcpy(tempsave, arg));
return; return;
} }
if (!*arg) /* "look" alone, without an argument at all */ 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) else if ((look_type = search_block(arg, dirs, FALSE)) >= 0)
look_in_direction(ch, look_type); look_in_direction(ch, look_type);
else if (is_abbrev(arg, "at")) else if (is_abbrev(arg, "at"))
look_at_target(ch, arg2); look_at_target(ch, strcpy(tempsave, arg2));
else if (is_abbrev(arg, "around")) { else if (is_abbrev(arg, "around")) {
struct extra_descr_data *i; struct extra_descr_data *i;
@ -749,7 +750,7 @@ ACMD(do_look)
if (!found) if (!found)
send_to_char(ch, "You couldn't find anything noticeable.\r\n"); send_to_char(ch, "You couldn't find anything noticeable.\r\n");
} else } else
look_at_target(ch, arg); look_at_target(ch, strcpy(tempsave, arg));
} }
} }