push
This commit is contained in:
@@ -44,7 +44,7 @@ struct animal *animal_from_insect(const char *color, struct insect *insect){
|
||||
}
|
||||
|
||||
strcpy(animal->color, color);
|
||||
animal->type = 0;
|
||||
animal->type = INSECT;
|
||||
animal->animal.insect = insect;
|
||||
return animal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user