On Sat, 19 Nov 1994, Sean P. Mountcastle wrote:
> I know my question is worded very poorly. Basically in db.c I
> have:
> POOFIN(ch) = st->player_special_data.poofin;
> POOFOUT(ch) = st->player_special_data.poofout;
>
> I tried this using addresses and it said I has bunch of parse errors.
> i.e I had st->player_special_data.*poofin instead of the above.
> The above was in char_to_store in db.c
>
> In store_to_char, I have:
> if (POOFIN(ch))
> st->player_special_data.poofin = POOFIN(ch);
> else
> st->player_special_data.poofin = '\0';
>
> The compiler keeps telling me that there is no member named poofin/out.
^^ ^^^^^^ ^^^^^ ^^^^^^^^^^
add something along the lines of:
char *poofin;
char *poofout;
to the specials stucture in structs.h
>
> Thanks in advacne for your help :)
Your welcmoe :)
>
> - Sean
>
This archive was generated by hypermail 2b30 : 12/07/00 PST