mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03: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:
@@ -393,6 +393,11 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
int gametimer;
|
int gametimer;
|
||||||
|
|
||||||
|
bool inline inspecial()
|
||||||
|
{
|
||||||
|
return inintermission || insecretlab || intimetrial || nodeathmode;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
extern Game game;
|
extern Game game;
|
||||||
|
|||||||
Reference in New Issue
Block a user