ich hab in pet.cpp was geändert was aber nicht gehen will
// Hatch the pet
if(sd->inventory.u.items_inventory.attribute == 1) {
pet_birth_process2( sd, p );
} else {
// Hide egg from inventory.
// Set pet egg to broken, before the inventory gets saved
sd->inventory.u.items_inventory.attribute = 1;
pet_birth_process( sd, p );
}
} else {
pet_data_init(sd,p);
if(sd->pd && sd->bl.prev != NULL) {
if(map_addblock(&sd->pd->bl))
return 1;
clif_spawn(&sd->pd->bl);
clif_send_petdata(sd,sd->pd,0,0);
clif_send_petdata(sd,sd->pd,5,battle_config.pet_hair_style);
clif_pet_equip_area(sd->pd);
clif_send_petstatus(sd);
}
}
return 0;
}
er geht immer nach dem else ob wohl ich sd->inventory.u.items_inventory.attribute == 1 das erfülle könnte mir da jemand sagen wo ich da ein fehler reingemacht habe