]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/MapState.cpp
renamed namespace geometry -> math
[l2e.git] / src / map / MapState.cpp
index 35c0c5c76f9a09a53b38e68ac5f8228d524c8449..121dfbcdc0e41d0478d37500f906f4235902d6f2 100644 (file)
@@ -18,7 +18,7 @@ using app::Application;
 using app::Input;
 using battle::BattleState;
 using common::GameConfig;
-using geometry::Vector;
+using math::Vector;
 using graphics::ColorFade;
 using menu::PartyMenu;
 
@@ -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);