mirror of
https://github.com/rehlds/rehlds.git
synced 2025-04-25 07:43:40 +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:
parent
a2953ea374
commit
2f87ace7fc
@ -5781,8 +5781,12 @@ void SV_PropagateCustomizations(void)
|
|||||||
pResource = &pCust->resource;
|
pResource = &pCust->resource;
|
||||||
|
|
||||||
#ifdef REHLDS_FIXES
|
#ifdef REHLDS_FIXES
|
||||||
|
// skip logos if sv_send_logos is 0
|
||||||
if ((pResource->ucFlags & RES_CUSTOM) && !sv_send_logos.value)
|
if ((pResource->ucFlags & RES_CUSTOM) && !sv_send_logos.value)
|
||||||
|
{
|
||||||
|
pCust = pCust->pNext;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MSG_WriteByte(&host_client->netchan.message, svc_customization);
|
MSG_WriteByte(&host_client->netchan.message, svc_customization);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user