mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-11 17:58:16 +08:00
[saco] Implement/match sub_100A4170; it zeroes eight bytes then inlines the strcpy
This commit is contained in:
1 parent
6f588d338e
commit
959f1b88ae
1 file changed
+8
@@ -429,6 +429,14 @@ CVehicle *CGame::sub_100A0250(int a2, float a3, float a4, float a5, float a6, in
|
||||
return pVehicle->m_pVehicle ? pVehicle : 0;
|
||||
}
|
||||
|
||||
char szUnk_10113968[8];
|
||||
|
||||
void sub_100A4170(const char *a1)
|
||||
{
|
||||
memset(szUnk_10113968, 0, sizeof(szUnk_10113968));
|
||||
strcpy(szUnk_10113968, a1);
|
||||
}
|
||||
|
||||
void __stdcall sub_100A02E0(const char *a1)
|
||||
{
|
||||
if(a1 && *a1 && strlen(a1) <= 8)
|
||||
|
||||
Reference in new issue
Block a user