i9974319 wrote:
>
> Ok, I don't know if this has been covered if it has I apologize, but this
> has got me stumped.
>
> I have tried using race.doc from the ftp site. For the most part
> everything compiles okay but here are the errors I am getting....
>
> gcc -c -g -O -Wall -fno-strict-prototypes interpreter.c
> interpreter.c: In function `nanny':
> interpreter.c:1543: structure has no member named `pos'
> interpreter.c:1544: structure has no member named `pos'
> make[1]: *** [interpreter.o] Error 1
> make[1]: Leaving directory `/MUD/circle30bpl11/src'
> make: *** [all] Error 2
>
> and here is the code it is telling me is wrong...(this code is from race.doc)
>
> if (d->pos < 0)
> d->pos = create_entry(GET_NAME(d->character));
>
> I am running a mostly unmodified (except for oasis) bpl11.
>
> If anyone has a solution please let me know. thank.
>
> Matthew
you have to use the if statement as it was originally the race doc says to change it but it is wrong
}
if (GET_PFILEPOS(d->character) < 0)
GET_PFILEPOS(d->character) = create_entry(GET_NAME(d->character));
init_char(d->character);
save_char(d->character, NOWHERE);
this worked for me hope it helps
John
This archive was generated by hypermail 2b30 : 12/07/00 PST