diff --git a/polymer/eduke32/source/premap.c b/polymer/eduke32/source/premap.c index 4b7eb2099..c916b2952 100644 --- a/polymer/eduke32/source/premap.c +++ b/polymer/eduke32/source/premap.c @@ -1675,7 +1675,7 @@ int32_t G_FindLevelByFile(const char *fn) return MAXLEVELS * MAXVOLUMES; } -void G_FadeLoad(int32_t r, int32_t g, int32_t b, int32_t start, int32_t end, int32_t step, int32_t ticwait) +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; @@ -1695,7 +1695,7 @@ void G_FadeLoad(int32_t r, int32_t g, int32_t b, int32_t start, int32_t end, int G_FadePalette(r,g,b,start|128); flushperms(); - G_DoLoadScreen(" ", -1); + G_DoLoadScreen(" ", tc); } } @@ -1907,9 +1907,9 @@ int32_t G_EnterLevel(int32_t g) ud.playerbest = CONFIG_GetMapBestTime(MapInfo[mii].filename); - G_FadeLoad(0,0,0, 63,0, -7, 4); + G_FadeLoad(0,0,0, 63,0, -7, 4, -1); G_CacheMapData(); - G_FadeLoad(0,0,0, 0,63, 7, 4); + G_FadeLoad(0,0,0, 0,63, 7, 4, -2); if (ud.recstat != 2) { diff --git a/polymer/eduke32/source/premap.h b/polymer/eduke32/source/premap.h index 250294fab..ff92142b8 100644 --- a/polymer/eduke32/source/premap.h +++ b/polymer/eduke32/source/premap.h @@ -42,7 +42,6 @@ void G_SetupFilenameBasedMusic(char *levnamebuf, const char *boardfilename, int3 int32_t G_EnterLevel(int32_t g); int32_t G_FindLevelByFile(const char *fn); void G_CacheMapData(void); -void G_FadeLoad(int32_t r,int32_t g,int32_t b,int32_t start,int32_t end,int32_t step,int32_t ticwait); void G_FreeMapState(int32_t mapnum); void G_NewGame(int32_t vn,int32_t ln,int32_t sk); void G_ResetTimers(uint8_t keepgtics);