some updates
This commit is contained in:
@@ -138,7 +138,10 @@ void CFunnyGameBridge::Init()
|
||||
g_pPhysics = (IPhysics*)fnPhysicsFactory(PHYSICS_INTERFACE_VERSION, NULL);
|
||||
g_pPhysicsWorld = g_pPhysics->CreateWorld();
|
||||
|
||||
g_pWorldSystem->LoadMap("game/core/maps/test/test.fmap");
|
||||
if (g_pEngineConstants->m_bIsDedicated == false)
|
||||
g_pWorldSystem->LoadMap("game/core/maps/mainmenu/a.fmap");
|
||||
else
|
||||
g_pWorldSystem->LoadMap("game/core/maps/test/test.fmap");
|
||||
}
|
||||
|
||||
|
||||
@@ -199,6 +202,7 @@ void CFunnyGameBridge::Frame( float fDelta )
|
||||
g_pEngineVars->m_fDeltaTime = fDelta;
|
||||
|
||||
#ifdef STEAM
|
||||
|
||||
if (g_pEngineConstants->m_bIsSteam && g_pEngineConstants->m_bIsDedicated)
|
||||
{
|
||||
if (m_bIsConnectedToSteamRelay == 0 && SteamNetworkingUtils()->GetRelayNetworkStatus(NULL) == k_ESteamNetworkingAvailability_Current)
|
||||
|
||||
Reference in New Issue
Block a user