From ce7008a95e092411c8b43292802f9cdfaf1bd672 Mon Sep 17 00:00:00 2001 From: ricardoofnl Date: Thu, 3 Sep 2026 00:03:46 +0700 Subject: [PATCH] [saco] Match `CGame::sub_100A0010`; retail tests the zero case first --- saco/game/game.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/saco/game/game.cpp b/saco/game/game.cpp index c0d5cbe..ddd07c9 100644 --- a/saco/game/game.cpp +++ b/saco/game/game.cpp @@ -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)