some fixes

This commit is contained in:
Dander7BD 2014-02-13 09:45:45 +01:00
parent c2f67f6f77
commit 6c667f32cd
3 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<ShowAllFiles>true</ShowAllFiles> <ShowAllFiles>false</ShowAllFiles>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerWorkingDirectory>$(OutDir)</LocalDebuggerWorkingDirectory> <LocalDebuggerWorkingDirectory>$(OutDir)</LocalDebuggerWorkingDirectory>

View File

@ -221,8 +221,9 @@ namespace DanBias
delete data.inputObj; delete data.inputObj;
Oyster::Event::EventHandler::Instance().Clean(); data.state = nullptr;
Oyster::Graphics::API::Clean(); EventHandler::Instance().Clean();
Graphics::API::Clean();
GameServerAPI::ServerStop(); GameServerAPI::ServerStop();

View File

@ -31,5 +31,5 @@ int WINAPI WinMain( HINSTANCE hinst, HINSTANCE prevInst, PSTR cmdLine, int cmdSh
DanBias::DanBiasGame::Release(); DanBias::DanBiasGame::Release();
} }
return cmdShow; return 0;
} }