}
}
if (game->state->capsule) {
- battleState->SetCapsule(game->state->capsule);
+ battleState->SetCapsule(&game->state->GetCapsule());
}
for (battle::Monster **monster((*e)->MonstersBegin()); monster != (*e)->MonstersEnd(); ++monster) {
battleState->AddMonster(**monster);