mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 06:19:25 +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:
1 parent
da1b58d771
commit
93a67bd357
1 file changed
+5
@@ -393,6 +393,11 @@ public:
|
||||
#endif
|
||||
|
||||
int gametimer;
|
||||
|
||||
bool inline inspecial()
|
||||
{
|
||||
return inintermission || insecretlab || intimetrial || nodeathmode;
|
||||
}
|
||||
};
|
||||
|
||||
extern Game game;
|
||||
|
||||
Reference in new issue
Block a user