]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/MapState.cpp
implemented capsule/class selection
[l2e.git] / src / map / MapState.cpp
index 35c0c5c76f9a09a53b38e68ac5f8228d524c8449..b223f4fd6a2d4a111bb0394a39ccd10d612fa561 100644 (file)
@@ -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);