From cc7a39f467a49b2e91717739cb6e7c3c4b34a245 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Dec 2017 01:28:56 +0300 Subject: Remove default parameters from map. --- src/resources/map/map.cpp | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'src/resources/map/map.cpp') 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())); } } } -- cgit v1.2.3-70-g09d2