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"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>true</ShowAllFiles>
<ShowAllFiles>false</ShowAllFiles>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerWorkingDirectory>$(OutDir)</LocalDebuggerWorkingDirectory>

View File

@ -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();

View File

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