> ACTNULL is const, but you've removed the constness from i, thus you're....
Yes, how stupid of me not to look 3 lines above preform_act to see conset
char ACTNULL heh
> > char *PERS(struct char_data *ch, struct char_data *vict)
> > {
> > static char buf1[80];
>
> Be careful with a small buffer like this...
>
> > if (IS_AFFECTED(vict, AFF_INFRAVISION)) {
> > send_to_char(red_shape_name[GET_SIZE(ch)], ch);
> > send_to_char("\r\n", ch);
> > return(buf1);
>
> I doubt this is what you wanted to do, here.
>
> > This is all I have changed, minus #define CAN_SEE(sub, obj)
(CanSee(sub),
> > (obj))
>
> You want
>
> #define CAN_SEE(sub, obj) (CanSee((sub), (obj)))
>
> I'm not entirely clear on why you didn't just kill the #define and name
> your new function CAN_SEE to begin with.
>
>
> -dak
>
> --
> +---------------------------------------------------------------+
> | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
> | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
> | Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
> +---------------------------------------------------------------+
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT