summaryrefslogtreecommitdiffstats
path: root/src/core/Game.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-01 16:52:40 +0200
committereray orçunus <erayorcunus@gmail.com>2020-06-01 17:32:34 +0200
commitd930a25d942fb0a94d9df0bc0d3eaf76fbc03658 (patch)
tree102e2f6c98538dca669b94fa05eb5615f44d7c45 /src/core/Game.cpp
parentMerge pull request #608 from Nick007J/miami (diff)
downloadre3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.tar
re3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.tar.gz
re3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.tar.bz2
re3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.tar.lz
re3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.tar.xz
re3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.tar.zst
re3-d930a25d942fb0a94d9df0bc0d3eaf76fbc03658.zip
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r--src/core/Game.cpp19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index f401ca3f..a25f99d0 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -492,22 +492,7 @@ void CGame::ReInitGameObjectVariables(void)
void CGame::ReloadIPLs(void)
{
- CTimer::Stop();
- CWorld::RemoveStaticObjects();
- ThePaths.Init();
- CCullZones::Init();
- CFileLoader::ReloadPaths("GTA3.IDE");
- CFileLoader::LoadScene("INDUST.IPL");
- CFileLoader::LoadScene("COMMER.IPL");
- CFileLoader::LoadScene("SUBURBAN.IPL");
- CFileLoader::LoadScene("CULL.IPL");
- ThePaths.PreparePathData();
- CTrafficLights::ScanForLightsOnMap();
- CRoadBlocks::Init();
- CCranes::InitCranes();
- CGarages::Init();
- CRenderer::SortBIGBuildings();
- CTimer::Update();
+ // Empty and unused
}
void CGame::ShutDownForRestart(void)
@@ -578,7 +563,7 @@ void CGame::InitialiseWhenRestarting(void)
for ( int32 i = 0; i < 50; i++ )
{
HandleExit();
- FrontEndMenuManager.MessageScreen("FED_LFL"); // Loading save game has failed. The game will restart now.
+ FrontEndMenuManager.MessageScreen("FED_LFL", true); // Loading save game has failed. The game will restart now.
}
ShutDownForRestart();