From 18880ef17e3c0f1caff393c60c75611167191489 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 24 Sep 2020 16:33:30 +0200 Subject: [PATCH] source/Game.cpp: minor fixes. --- source/Game.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/source/Game.cpp b/source/Game.cpp index dcb271d..5213c50 100644 --- a/source/Game.cpp +++ b/source/Game.cpp @@ -11,14 +11,12 @@ namespace sp { -Game::Game() +Game::Game() : +m_running(false) { m_platform = new Win32Application(); - - m_running = false; m_graphics = new Graphics(m_platform); m_input = new InputModule(&m_platform->getInput()); - m_messageHandler = new MessageHandler(); } @@ -113,4 +111,4 @@ MessageHandler* Game::getMessageHandler() const return m_messageHandler; } -} +} // namespace sp