浏览代码

initialize refocus_over_tile to false

Co-authored-by: Tomek <[email protected]>
Michael Auderer 5 年之前
父节点
当前提交
6d510453e5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/plugins/tile_map_editor_plugin.h

+ 1 - 1
editor/plugins/tile_map_editor_plugin.h

@@ -119,7 +119,7 @@ class TileMapEditor : public VBoxContainer {
 	Rect2i rectangle;
 
 	Point2i over_tile;
-	bool refocus_over_tile;
+	bool refocus_over_tile = false;
 
 	bool *bucket_cache_visited;
 	Rect2i bucket_cache_rect;