some updates

This commit is contained in:
2026-05-29 01:49:38 +03:00
parent ab9e5f47b3
commit 363bd9001d
11 changed files with 59 additions and 210 deletions

View File

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