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:
parent
a2953ea374
commit
2f87ace7fc
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user