From c2efba6907fab934a04959b9bb644cf7141cc955 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sat, 1 Jul 2023 23:04:04 +0100 Subject: matched T2DLL as well as i can --- src/T2DLL/T2FireWork.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/T2DLL/T2FireWork.cpp') diff --git a/src/T2DLL/T2FireWork.cpp b/src/T2DLL/T2FireWork.cpp index 0929af8..11bb86f 100644 --- a/src/T2DLL/T2FireWork.cpp +++ b/src/T2DLL/T2FireWork.cpp @@ -101,7 +101,7 @@ BOOL T2FireWork::Idle() { for (ind = 0; ind < 20; ind++) { if (!mUsed[ind]) { #pragma var_order(var24, var28, var2C, bufferSize, var34, var38) - float var24 = (((rand() % 40) - 20) / 100.0f) + 0.0f; + float var24 = (((rand() % 40) - 20) / 100.0f) + 0.8f; float var38 = var24; float var28 = int((var38 * 6.283186) / 0.18) / 4; int var34 = 1; @@ -212,7 +212,7 @@ BOOL T2FireWork::Idle() { float var68 = int((var84 * 6.283186) / 0.18) / 4; int var80 = 1; - float var7C = mRect.bottom * 0.016; + float var7C = mRect.bottom * 0.016f; for (float var70 = 0.0f; var70 <= var68; var70 += 1.0f) { #pragma var_order(var8C, var90, var94) -- cgit v1.2.3