mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-02-01 21:55:01 +01: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:
parent
da1b58d771
commit
93a67bd357
1 changed files with 5 additions and 0 deletions
|
@ -393,6 +393,11 @@ public:
|
|||
#endif
|
||||
|
||||
int gametimer;
|
||||
|
||||
bool inline inspecial()
|
||||
{
|
||||
return inintermission || insecretlab || intimetrial || nodeathmode;
|
||||
}
|
||||
};
|
||||
|
||||
extern Game game;
|
||||
|
|
Loading…
Add table
Reference in a new issue