use this instead

This commit is contained in:
Alug committed 2024-03-28 08:13:16 +01:00
1 parent 11423a6d78
commit 567ccf8a59
3 files changed
+1 -7

No files matched your search

-2
View File
@@ -1771,8 +1771,6 @@ void D_SRB2Main(void)
COM_ImmedExecute(va("exec \"%s"PATHSEP"kartserv.cfg\"\n", srb2home));
else
COM_ImmedExecute(va("exec \"%s"PATHSEP"kartexec.cfg\" -noerror\n", srb2home));
hrscale_shit = 1;
if (!autostart)
M_PushSpecialParameters(); // push all "+" parameters at the command buffer
+1 -3
View File
@@ -50,8 +50,6 @@ void (*transtransfunc)(void); // translucent translated column drawer
void (*twosmultipatchfunc)(void); // for cols with transparent pixels
void (*twosmultipatchtransfunc)(void); // for cols with transparent pixels AND translucency
int hrscale_shit = 0;
// ------------------
// global video state
// ------------------
@@ -76,7 +74,7 @@ consvar_t cv_highreshudscale = {"highreshudscale", "1", CV_SAVE|CV_FLOAT|CV_CALL
static void Highreshudscale_OnChange(void)
{
if (hrscale_shit)
if (!con_startup)
SCR_Recalc();
}
-2
View File
@@ -160,8 +160,6 @@ void SCR_Startup (void);
void SCR_CalculateFPS(void);
extern int hrscale_shit;
FUNCMATH boolean SCR_IsAspectCorrect(INT32 width, INT32 height);
// move out to main code for consistency