From 0911d263c10cca314305799d5b839ee9653cac0b Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Tue, 29 Jan 2013 18:50:04 +0100 Subject: [PATCH] re-enable battle launching from MapState sorry, my bad --- src/map/MapState.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map/MapState.cpp b/src/map/MapState.cpp index ca1dafb..9bae990 100644 --- a/src/map/MapState.cpp +++ b/src/map/MapState.cpp @@ -299,6 +299,7 @@ bool MapState::CheckMonster() { for (std::vector::iterator e(entities.begin()), end(entities.end()); e != end; ++e) { if ((*e)->Hostile() && map->TileCoordinates(ToInt((*e)->Position())) == neighbor[i]) { // TODO: move entity erase to happen after the transition or battle + LoadBattle(*controlled, **e); entities.erase(e); return true; } -- 2.39.2