Add Game::inspecial()

It's a function marked for inline that's just a simple shorthand,
because I don't want to type all of those conditionals out.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-06-14 07:24:28 -04:00
1 parent da1b58d771
commit 93a67bd357
1 file changed
+5
+5
View File
@@ -393,6 +393,11 @@ public:
#endif
int gametimer;
bool inline inspecial()
{
return inintermission || insecretlab || intimetrial || nodeathmode;
}
};
extern Game game;