Fix type in extract_common.py (BzTileID)
This commit is contained in:
@@ -173,7 +173,7 @@ class EnumWriter:
|
||||
|
||||
def output_enum_to_tile(self, func_name):
|
||||
writer = self.writer
|
||||
writer.output(f"static {self.enum_type} {func_name}({self.enum_type} type) ")
|
||||
writer.output(f"static BzTileID {func_name}({self.enum_type} type) ")
|
||||
writer.block_start()
|
||||
|
||||
writer.output("switch (type) ")
|
||||
|
||||
Reference in New Issue
Block a user