diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-24 21:03:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 21:03:48 +0100 |
commit | 5f8f6ae7f6e7d598629993fcdd4b3828f1bf2d04 (patch) | |
tree | 111cdafbe04362527efc624428c8685b68dfee03 /scene/2d | |
parent | fc09d783f4e8a6b8978c6971450f26e812268e67 (diff) | |
parent | d7f51dd2ec60f5c237e471b65e890c11f172b24b (diff) |
Merge pull request #57120 from KoBeWi/grandpa_issue
Diffstat (limited to 'scene/2d')
-rw-r--r-- | scene/2d/tile_map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp index 5857b6710f..25c83b0c8f 100644 --- a/scene/2d/tile_map.cpp +++ b/scene/2d/tile_map.cpp @@ -2725,7 +2725,7 @@ void TileMap::_get_property_list(List<PropertyInfo> *p_list) const { } Vector2 TileMap::map_to_world(const Vector2i &p_pos) const { - // SHOULD RETURN THE CENTER OF THE TILE + // SHOULD RETURN THE CENTER OF THE CELL ERR_FAIL_COND_V(!tile_set.is_valid(), Vector2()); Vector2 ret = p_pos; |