From f7ece6e22772b71ef2dc3d5b51f3cb8121bd81f5 Mon Sep 17 00:00:00 2001 From: Dethrace Labs <78985374+dethrace-labs@users.noreply.github.com> Date: Sat, 6 Sep 2025 07:05:25 +1200 Subject: [PATCH] WaitFor effectively matching --- src/DETHRACE/common/utility.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DETHRACE/common/utility.c b/src/DETHRACE/common/utility.c index 3bdc9430..419e0a42 100644 --- a/src/DETHRACE/common/utility.c +++ b/src/DETHRACE/common/utility.c @@ -504,7 +504,7 @@ void WaitFor(tU32 pDelay) { tU32 start_time; start_time = PDGetTotalTime(); - while (start_time + pDelay < PDGetTotalTime()) { + while (start_time + pDelay > PDGetTotalTime()) { SoundService(); } }