From 59639c60a3ee6f20c5d6ff21a9a14627e5e05b34 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Wed, 7 Dec 2022 10:17:48 +0300 Subject: [PATCH] Cleanup --- src/game.cc | 2 -- src/game.h | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/game.cc b/src/game.cc index 9383793..51832dc 100644 --- a/src/game.cc +++ b/src/game.cc @@ -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) diff --git a/src/game.h b/src/game.h index 01a8950..e068c52 100644 --- a/src/game.h +++ b/src/game.h @@ -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,