[saco] Implement/match ScrUnk7B; zeroing the 33-byte buffer with memset gives eight aligned dwords plus a trailing byte, an = {0} initializer does not

This commit is contained in:
ricardoofnl
2026-09-05 07:53:53 +07:00
parent 787d1811fd
commit f904873daf
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -195,13 +195,14 @@ void ScrUnk7B(RPCParameters *rpcParams)
VEHICLEID vehicleId;
BYTE byteLen;
char szText[33];
RakNet::BitStream bsData(Data,(iBitLength/8)+1,false);
char szText[33] = {0};
byteLen = 0;
memset(szText, 0, sizeof(szText));
bsData.Read(vehicleId);
bsData.Read(byteLen);