OK so I'm working on importing OasisOLC into my mud
I'm going through fixing errors and things like that, but there is just one error that pops up in multiple places that I can't seem to figure out
void oedit_disp_wear_menu( DESCRIPTOR_DATA *d )
{
OBJ_DATA *obj = d->character->dest_buf;
char buf[MAX_STRING_LENGTH];
int counter, col = 0;
write_to_buffer( d, "50\x1B[;H\x1B[2J", 0 );
for ( counter = 0; counter <= ITEM_WEAR_MAX; counter++ )
{
//if ( 1 << counter == ITEM_DUAL_WIELD )
// continue;
sprintf( buf, "&g%2d&w) %-20.20s ", counter+1, capitalize(w_flags[counter]) );
if ( ++col % 2 == 0 )
strcat( buf, "\n\r" );
send_to_char_color( buf, d->character );
}
sprintf( buf, "\n\rWear flags: &c%s&w\n\rEnter wear flag, 0 to quit: ",
flag_string( obj->wear_flags, w_flags ) );
send_to_char_color( buf, d->character );
return;
}
It has to do with this line
flag_string( obj->wear_flags, w_flags ) );
and I know the wear flags were changed to parts and looking in mud.h I see that the parts array is named part_flags
so I would assume (correct me if I'm wrong please) that the part_flags would take the place of the wear_flags
but when I try and compile is says
oedit.c:811: error: âOBJ_DATAâ has no member named âpart_flagsâ
but even before I changed it it said the same thing about the wear_flags
some help would be greatly appreciated