From 25e8daa43e9c55999a321bb2751bb968cea44388 Mon Sep 17 00:00:00 2001 From: Nauzhror Date: Mon, 15 Jan 2018 17:30:40 -0500 Subject: [PATCH] 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. --- src/act.informative.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/act.informative.c b/src/act.informative.c index aecb8da..902d3d4 100644 --- a/src/act.informative.c +++ b/src/act.informative.c @@ -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)); } }