Convert STR_NONE and STR_VIEWPORT to constexpr, remove C cast (#11629)

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2020-05-04 19:41:25 -03:00
1 parent 80933dc0cc
commit d3448a7a40
1 file changed
+2 -2
+2 -2
View File
@@ -12,8 +12,8 @@
#include "../common.h"
#define STR_NONE ((rct_string_id)-1)
#define STR_VIEWPORT ((rct_string_id)-2)
constexpr const rct_string_id STR_NONE = 0xFFFF;
constexpr const rct_string_id STR_VIEWPORT = 0xFFFE;
enum
{