Quote:
Code:
PetType type = petOther;
if(strncmp(pettype, "Familiar", 8) == 0) {
type = petFamiliar;
} //else if(strncmp(pettype, "Animation", 9) == 0) {
type = petAnimation;
//}
but it didn't do anything
|
I haven't looked at this part of the code much, but the way you have it commented looks like it'll make all pets act like animations. Commenting out the type = petAnimation line should fix it, if that's where the animation behavior is coming from.