Skip to content

Commit

Permalink
Fix a doc and a test issue not caught by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga committed Apr 10, 2024
1 parent a8bd519 commit 83b916b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion doc/classes/TileMapLayer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
The quadrant size does not apply on a Y-sorted [TileMapLayer], as tiles are be grouped by Y position instead in that case.
[b]Note:[/b] As quadrants are created according to the map's coordinate system, the quadrant's "square shape" might not look like square in the [TileMapLayer]'s local coordinate system.
</member>
<member name="tile_map_data" type="PackedByteArray" setter="set_tile_map_data_from_array" getter="get_tile_map_data_as_array" default="PackedByteArray(0, 0)">
<member name="tile_map_data" type="PackedByteArray" setter="set_tile_map_data_from_array" getter="get_tile_map_data_as_array" default="PackedByteArray(&quot;AAA=&quot;)">
The raw tile map data as a byte array.
</member>
<member name="tile_set" type="TileSet" setter="set_tile_set" getter="get_tile_set">
Expand Down
2 changes: 0 additions & 2 deletions tests/core/templates/test_oa_hash_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,9 @@ TEST_CASE("[OAHashMap] Iteration") {
expected.push_back(Pair<int, int>(0, 12934));
expected.push_back(Pair<int, int>(123485, 1238888));

int idx = 0;
for (OAHashMap<int, int>::Iterator it = map.iter(); it.valid; it = map.next_iter(it)) {
int64_t result = expected.find(Pair<int, int>(*it.key, *it.value));
CHECK(result >= 0);
idx++;
}
}

Expand Down

0 comments on commit 83b916b

Please sign in to comment.