refactor enums

credits for class BitFlags go to Jelvan <3
This commit is contained in:
Garux
2021-01-25 01:33:56 +03:00
parent 661f8e53b9
commit bdfd864670
31 changed files with 312 additions and 227 deletions

View File

@@ -266,7 +266,7 @@ void ParsePatch( bool onlyLights ){
// if brush primitives format, we may have some epairs to ignore here
GetToken( true );
if ( !strEqual( token, "}" ) && ( g_brushType == BPRIMIT_BP || g_brushType == BPRIMIT_UNDEFINED ) ) {
if ( !strEqual( token, "}" ) && ( g_brushType == EBrushType::Bp || g_brushType == EBrushType::Undefined ) ) {
std::list<epair_t> dummy;
ParseEPair( dummy );
}