]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/MapState.cpp
moved map data to maps.l2s
[l2e.git] / src / map / MapState.cpp
index 6b025319b42747e00accb8ef41badb87018e0df3..37ccc72246c1c62c84bac7c77e75af59ffe77107 100644 (file)
@@ -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);