summaryrefslogtreecommitdiff
path: root/src/resources/map/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/map.cpp')
-rw-r--r--src/resources/map/map.cpp20
1 files changed, 14 insertions, 6 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp
index 8477b026e..39365643d 100644
--- a/src/resources/map/map.cpp
+++ b/src/resources/map/map.cpp
@@ -1180,18 +1180,26 @@ void Map::addExtraLayer() restrict2
}
if (type == MapItemType::PORTAL)
{
- updatePortalTile(comment, type, atoi(x.c_str()),
- atoi(y.c_str()), false);
+ updatePortalTile(comment,
+ type,
+ atoi(x.c_str()),
+ atoi(y.c_str()),
+ false);
}
else if (type == MapItemType::HOME)
{
- updatePortalTile(comment, type, atoi(x.c_str()),
- atoi(y.c_str()));
+ updatePortalTile(comment,
+ type,
+ atoi(x.c_str()),
+ atoi(y.c_str()),
+ true);
}
else
{
- addPortalTile(comment, type, atoi(x.c_str()),
- atoi(y.c_str()));
+ addPortalTile(comment,
+ type,
+ atoi(x.c_str()),
+ atoi(y.c_str()));
}
}
}