From 6c667f32cde0af605681922730bee4c11e41f3ce Mon Sep 17 00:00:00 2001 From: Dander7BD Date: Thu, 13 Feb 2014 09:45:45 +0100 Subject: [PATCH] some fixes --- Code/Game/DanBiasGame/DanBiasGame.vcxproj.user | 2 +- Code/Game/DanBiasGame/DanBiasGame_Impl.cpp | 5 +++-- Code/Game/DanBiasLauncher/Launcher.cpp | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Code/Game/DanBiasGame/DanBiasGame.vcxproj.user b/Code/Game/DanBiasGame/DanBiasGame.vcxproj.user index 2e28d6f7..4b847ee6 100644 --- a/Code/Game/DanBiasGame/DanBiasGame.vcxproj.user +++ b/Code/Game/DanBiasGame/DanBiasGame.vcxproj.user @@ -1,7 +1,7 @@  - true + false $(OutDir) diff --git a/Code/Game/DanBiasGame/DanBiasGame_Impl.cpp b/Code/Game/DanBiasGame/DanBiasGame_Impl.cpp index ec9fc98c..0b14e89f 100644 --- a/Code/Game/DanBiasGame/DanBiasGame_Impl.cpp +++ b/Code/Game/DanBiasGame/DanBiasGame_Impl.cpp @@ -221,8 +221,9 @@ namespace DanBias delete data.inputObj; - Oyster::Event::EventHandler::Instance().Clean(); - Oyster::Graphics::API::Clean(); + data.state = nullptr; + EventHandler::Instance().Clean(); + Graphics::API::Clean(); GameServerAPI::ServerStop(); diff --git a/Code/Game/DanBiasLauncher/Launcher.cpp b/Code/Game/DanBiasLauncher/Launcher.cpp index fbf8d7c7..8ace07dc 100644 --- a/Code/Game/DanBiasLauncher/Launcher.cpp +++ b/Code/Game/DanBiasLauncher/Launcher.cpp @@ -31,5 +31,5 @@ int WINAPI WinMain( HINSTANCE hinst, HINSTANCE prevInst, PSTR cmdLine, int cmdSh DanBias::DanBiasGame::Release(); } - return cmdShow; + return 0; } \ No newline at end of file