X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FMapState.cpp;fp=src%2Fmap%2FMapState.cpp;h=37ccc72246c1c62c84bac7c77e75af59ffe77107;hb=7c43158af1abf38fa896a442cb3c6d8a5bc630e7;hp=6b025319b42747e00accb8ef41badb87018e0df3;hpb=77915e0186f4fc0788054eb34651c726b80d981c;p=l2e.git diff --git a/src/map/MapState.cpp b/src/map/MapState.cpp index 6b02531..37ccc72 100644 --- a/src/map/MapState.cpp +++ b/src/map/MapState.cpp @@ -412,6 +412,7 @@ void MapState::LoadMap(Map *m) { map = m; for (Entity *e(m->EntitiesBegin()), *end(m->EntitiesEnd()); e != end; ++e) { entities.push_back(e); + e->ResetPosition(map->Tileset()->Size()); } for (Entity *e(controlled); e; e = e->Follower()) { entities.push_back(e);