mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-03-09 07:15:18 +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
|
#endif
|
||||||
|
|
||||||
int gametimer;
|
int gametimer;
|
||||||
|
|
||||||
|
bool inline inspecial()
|
||||||
|
{
|
||||||
|
return inintermission || insecretlab || intimetrial || nodeathmode;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
extern Game game;
|
extern Game game;
|
||||||
|
|
Loading…
Add table
Reference in a new issue