George Greer wrote:
>
> On Tue, 28 Mar 2000, Juliano Ravasi Ferraz wrote:
>
> >--- act.informative.c.orig Tue Mar 28 12:57:31 2000
> >+++ act.informative.c Tue Mar 28 12:57:52 2000
> >@@ -649,7 +649,7 @@ ACMD(do_examine)
> > send_to_char("Examine what?\r\n", ch);
> > return;
> > }
> >- look_at_target(ch, arg);
> >+ look_at_target(ch, str_dup(arg));
> >
> > generic_find(arg, FIND_OBJ_INV | FIND_OBJ_ROOM | FIND_CHAR_ROOM |
> > FIND_OBJ_EQUIP, ch, &tmp_char, &tmp_object);
>
> Please, please, please don't tell me that you are actually using that
> change in your MUD.
No, no... Actually I'm using:
char arg2[MAX_INPUT_LENGTH]; /* at beginning of the function */
strcpy(arg2, arg);
look_at_target(ch, arg2);
That is an frustrated attempt to enhance this old idea. Living and
learning... Excuse-me for my error, and thanks to all for this warning.
,--[ Juliano Ravasi Ferraz, F.R+C ]--------------------.
| `-[ jferraz@linkway.com.br ]----------------------.|
| |
| Rayon Eletônica e Informática Ltda - Diretor Técnico |
| Linkway Internet Provider - Unidade Descalvado |
`------------------------------------------------------'
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT