浏览代码

Fix enum type to use int64_t instead of int in GDScript

Yuri Rubinsky 2 年之前
父节点
当前提交
9e04531938
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;