diff --git a/ReflexToQ3/includes/oopless-parser.cpp b/ReflexToQ3/includes/oopless-parser.cpp index d6a8a67..a2c905c 100644 --- a/ReflexToQ3/includes/oopless-parser.cpp +++ b/ReflexToQ3/includes/oopless-parser.cpp @@ -8,9 +8,13 @@ using namespace std; bool is_ebrush(const std::vector &input) { #define KEYWORD_ENTBRUSH1 "type Teleporter" #define KEYWORD_ENTBRUSH2 "type JumpPad" +#define KEYWORD_ENTBRUSH3 "type RaceStart" +#define KEYWORD_ENTBRUSH4 "type RaceFinish" for (const string &str : input) { if (str.find(KEYWORD_ENTBRUSH1) != string::npos || - str.find(KEYWORD_ENTBRUSH2) != string::npos) { + str.find(KEYWORD_ENTBRUSH2) != string::npos || + str.find(KEYWORD_ENTBRUSH3) != string::npos || + str.find(KEYWORD_ENTBRUSH4) != string::npos) { return true; } }