This commit is contained in:
Alexander Batalov 2022-12-07 10:17:48 +03:00
parent f056f0e131
commit 59639c60a3
2 changed files with 2 additions and 6 deletions

View File

@ -1444,13 +1444,11 @@ int GameMode::currentGameMode = 0;
void GameMode::enterGameMode(int gameMode)
{
currentGameMode |= gameMode;
debugPrint("Entering game mode: %d", gameMode);
}
void GameMode::exitGameMode(int gameMode)
{
currentGameMode &= ~gameMode;
debugPrint("Exiting game mode: %d", gameMode);
}
bool GameMode::isInGameMode(int gameMode)

View File

@ -41,11 +41,9 @@ int showQuitConfirmationDialog();
int gameShowDeathDialog(const char* message);
class GameMode
{
class GameMode {
public:
enum Flags
{
enum Flags {
kWorldmap = 0x1,
kDialog = 0x4,
kOptions = 0x8,