summaryrefslogtreecommitdiff
path: root/scene/resources/tile_set.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-28 20:47:30 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-28 20:47:30 +0200
commita9591f30395643b98f9620b8d68a76f74d00b9cf (patch)
treedf790fc67681d06b8e28aba8354c063ffd6ab373 /scene/resources/tile_set.cpp
parent361d9b514ef969a44f596c0bab9c86d9521379f3 (diff)
parent7ab01450cf465acb5981967e0276881e6d495904 (diff)
Merge pull request #66543 from akien-mga/msvc-warning-c4702
Fix MSVC warning C4702: unreachable code
Diffstat (limited to 'scene/resources/tile_set.cpp')
-rw-r--r--scene/resources/tile_set.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/resources/tile_set.cpp b/scene/resources/tile_set.cpp
index 9138a82ba8..ae83e2136f 100644
--- a/scene/resources/tile_set.cpp
+++ b/scene/resources/tile_set.cpp
@@ -1537,7 +1537,6 @@ Vector<Point2> TileSet::get_terrain_polygon(int p_terrain_set) {
}
return _get_half_offset_terrain_polygon(tile_size, overlap, tile_offset_axis);
}
- return Vector<Point2>();
}
Vector<Point2> TileSet::get_terrain_peering_bit_polygon(int p_terrain_set, TileSet::CellNeighbor p_bit) {