Browse Source

Merge pull request #67826 from Chaosus/gds_fix_enum

Fix enum type to use int64_t instead of int in GDScript
Rémi Verschelde 2 năm trước cách đây
mục cha
commit
1e0edc48b5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      modules/gdscript/gdscript_parser.h

+ 1 - 1
modules/gdscript/gdscript_parser.h

@@ -469,7 +469,7 @@ public:
 			EnumNode *parent_enum = nullptr;
 			int index = -1;
 			bool resolved = false;
-			int value = 0;
+			int64_t value = 0;
 			int line = 0;
 			int leftmost_column = 0;
 			int rightmost_column = 0;