mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[bot] Match UpgradeRecordFile(...)
This commit is contained in:
parent
8c9eb8a774
commit
f7b210999e
@ -226,7 +226,10 @@ int UpgradeRecordFile(char *a1, int a2, int a3)
|
||||
if(FUNC_1(fp, a2))
|
||||
{
|
||||
fclose(fp);
|
||||
return FUNC_3(a1) != 0;
|
||||
if(FUNC_3(a1))
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -236,15 +239,18 @@ int UpgradeRecordFile(char *a1, int a2, int a3)
|
||||
}
|
||||
else if (a3 == 2)
|
||||
{
|
||||
if(FUNC_2(fp, a2))
|
||||
if(!FUNC_2(fp, a2))
|
||||
{
|
||||
fclose(fp);
|
||||
return FUNC_4(a1) != 0;
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
fclose(fp);
|
||||
return 0;
|
||||
if(FUNC_4(a1))
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user