fixed segfault for player->anim