fix "Resynching..." speeding up with interpolation

:p
This commit is contained in:
alufolie91 committed 2023-11-16 03:15:18 +01:00
1 parent 8d607594ff
commit 4e6dc92033
1 file changed
+9 -5
+9 -5
View File
@@ -184,8 +184,6 @@ static INT32 cechoflags = 0;
// HEADS UP INIT
//======================================================================
static tic_t resynch_ticker = 0;
#ifndef NONET
// just after
static void Command_Say_f(void);
@@ -2466,12 +2464,18 @@ void HU_Drawer(void)
// draw desynch text
if (hu_resynching)
{
static UINT32 resynch_ticker = 0;
char resynch_text[14];
UINT32 i;
strcpy(resynch_text, "Resynching");
for (i = 0; i < (resynch_ticker / 16) % 4; i++)
strcat(resynch_text, ".");
// Animate the dots
if (renderisnewtic)
{
resynch_ticker++; //tic tic tic tic tic
}
strcpy(resynch_text, "Resynching");
for (i = 0; i < (resynch_ticker / 16) % 4; i++)
strcat(resynch_text, ".");
V_DrawCenteredString(BASEVIDWIDTH/2, 180, V_YELLOWMAP | V_ALLOWLOWERCASE, resynch_text);
}