diff --git a/Generator/CodeWriter/Constants.cs b/Generator/CodeWriter/Constants.cs index 8c4a271..3aa6126 100644 --- a/Generator/CodeWriter/Constants.cs +++ b/Generator/CodeWriter/Constants.cs @@ -13,7 +13,7 @@ namespace Generator StartBlock( "internal static class Defines" ); foreach ( var o in def.Consts ) { - var type = o.Type.Substring( "const ".Length ); + var type = o.Type; type = Cleanup.ConvertType( type ); var val = o.Val;