1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-18 10:38:31 +02:00

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 2020-06-13 20:07:52 -07:00 committed by Ethan Lee
parent da1b58d771
commit 93a67bd357

View File

@ -393,6 +393,11 @@ public:
#endif
int gametimer;
bool inline inspecial()
{
return inintermission || insecretlab || intimetrial || nodeathmode;
}
};
extern Game game;