mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 19:53:04 +08:00
[saco] Match CGame::sub_100A0010; retail tests the zero case first
This commit is contained in:
+5
-5
@@ -56,7 +56,11 @@ CGame::CGame()
|
||||
void CGame::sub_100A0010()
|
||||
{
|
||||
int time = (int)RakNet::GetTime();
|
||||
if(unnamed_1015068C)
|
||||
if(!unnamed_1015068C)
|
||||
{
|
||||
unnamed_1015068C = time;
|
||||
}
|
||||
else
|
||||
{
|
||||
if((time - unnamed_1015068C) > 30)
|
||||
{
|
||||
@@ -67,10 +71,6 @@ void CGame::sub_100A0010()
|
||||
}
|
||||
*(BYTE*)0xB7356E = unnamed_10150688;
|
||||
}
|
||||
else
|
||||
{
|
||||
unnamed_1015068C = time;
|
||||
}
|
||||
}
|
||||
|
||||
void unnamed_100A0060(float a1)
|
||||
|
||||
Reference in New Issue
Block a user