Fix build warnings and errors

This commit is contained in:
smallmodel 2024-11-30 23:36:37 +01:00
parent d5d5c7a55d
commit 4775f29194
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
2 changed files with 2 additions and 2 deletions

View file

@ -4146,7 +4146,7 @@ void ClientGameCommandManager::StopLoopSound(Event* ev)
}
Com_Printf("\n\nClientGameCommandManager::StopLoopSound\n\n");
current_centity->tikiLoopSound = NULL;
current_centity->tikiLoopSound = (sfxHandle_t)0;
}
//===============

View file

@ -570,7 +570,7 @@ void CG_GetRendererConfig(void)
cgi.GetGlconfig(&cgs.glconfig);
cgs.screenXScale = cgs.glconfig.vidWidth / 640.0;
cgs.screenYScale = cgs.glconfig.vidHeight / 480.0;
cgi.UI_GetHighResolutionScale(&cgs.uiHiResScale);
cgi.UI_GetHighResolutionScale(cgs.uiHiResScale);
}
/*