2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-04-09 11:00:08 +03:00

Fix dumb bug where skip logos without advancing to next iter, causing an endless loop when sv_send_logos is disabled Fixes #1085

This commit is contained in:
s1lentq 2025-04-02 21:16:17 +07:00
parent a2953ea374
commit 2f87ace7fc

View File

@ -5781,8 +5781,12 @@ void SV_PropagateCustomizations(void)
pResource = &pCust->resource;
#ifdef REHLDS_FIXES
// skip logos if sv_send_logos is 0
if ((pResource->ucFlags & RES_CUSTOM) && !sv_send_logos.value)
{
pCust = pCust->pNext;
continue;
}
#endif
MSG_WriteByte(&host_client->netchan.message, svc_customization);