X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FMapState.cpp;h=d678dab965d573c7722a963a9cc5936ac57af5c6;hb=a67f7e662c85b2b8d46f26a3c6e018b2df6eb318;hp=7b0905d37654fc50819a2b53f9218ce878ea663b;hpb=0285546b22f9e8f496ca6b1abffdd232647b6b6a;p=l2e.git diff --git a/src/map/MapState.cpp b/src/map/MapState.cpp index 7b0905d..d678dab 100644 --- a/src/map/MapState.cpp +++ b/src/map/MapState.cpp @@ -296,8 +296,8 @@ bool MapState::CheckMonster() { battleState->AddHero(*game->state->party[i]); } } - for (battle::Monster *monster((*e)->MonstersBegin()); monster != (*e)->MonstersEnd(); ++monster) { - battleState->AddMonster(*monster); + for (battle::Monster **monster((*e)->MonstersBegin()); monster != (*e)->MonstersEnd(); ++monster) { + battleState->AddMonster(**monster); } ColorFade *fadeIn(new ColorFade(this, 0, 500, true));