X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FMapState.cpp;h=b223f4fd6a2d4a111bb0394a39ccd10d612fa561;hb=ef2496b3cb7ce66b7f831278be66261834b732e5;hp=35c0c5c76f9a09a53b38e68ac5f8228d524c8449;hpb=67f6bb1d9727e7d1e2140cf2913aa89ebba84bf5;p=l2e.git diff --git a/src/map/MapState.cpp b/src/map/MapState.cpp index 35c0c5c..b223f4f 100644 --- a/src/map/MapState.cpp +++ b/src/map/MapState.cpp @@ -297,7 +297,7 @@ bool MapState::CheckMonster() { } } 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);