From 549ba86e5cbc37736670834774f8014303134e9d Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sat, 17 Jun 2017 11:41:49 +0000 Subject: [PATCH] Disable G_FadeLoad because it doesn't work in any renderer and only causes glitches. git-svn-id: https://svn.eduke32.com/eduke32@6183 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/premap.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/duke3d/src/premap.cpp b/source/duke3d/src/premap.cpp index e2c76fa49..9ed649910 100644 --- a/source/duke3d/src/premap.cpp +++ b/source/duke3d/src/premap.cpp @@ -1665,6 +1665,7 @@ int G_FindLevelByFile(const char *fileName) return MAXLEVELS * MAXVOLUMES; } +#if 0 static void G_FadeLoad(int32_t r, int32_t g, int32_t b, int32_t start, int32_t end, int32_t step, int32_t ticwait, int32_t tc) { int32_t m = (step < 0) ? -1 : 1; @@ -1688,6 +1689,7 @@ static void G_FadeLoad(int32_t r, int32_t g, int32_t b, int32_t start, int32_t e G_DoLoadScreen(" ", tc); } } +#endif static int G_TryMapHack(const char *mhkfile) { @@ -1905,9 +1907,9 @@ int G_EnterLevel(int gameMode) ud.playerbest = CONFIG_GetMapBestTime(G_HaveUserMap() ? boardfilename : g_mapInfo[mii].filename, g_loadedMapHack.md4); - G_FadeLoad(0,0,0, 252,0, -28, 4, -1); + // G_FadeLoad(0,0,0, 252,0, -28, 4, -1); G_CacheMapData(); - G_FadeLoad(0,0,0, 0,252, 28, 4, -2); + // G_FadeLoad(0,0,0, 0,252, 28, 4, -2); if (ud.recstat != 2) {