I added a field to my objects called owner.  Basically
players can buy ownership on their items, preventing
other players from wearing them.  It works fine,
except for it doesn't save to the object.  Here's my
line in save.c:

if (obj->owner != NULL)
    fprintf( fp, "Owner %s\n", obj->owner );

then I have the KEY line:

KEY( "Owner", obj->owner, fread_string( fp ) );

But when I log off it never saves the owner to the
object.  Anyone have an idea why?

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

Reply via email to