X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FMapState.cpp;fp=src%2Fmap%2FMapState.cpp;h=b223f4fd6a2d4a111bb0394a39ccd10d612fa561;hb=988ba6d1b4e18a4ae5d30a892224f76cee2355cc;hp=35c0c5c76f9a09a53b38e68ac5f8228d524c8449;hpb=6dff93b1a6e9b727dbe26747456f4b23efca86da;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);