diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-01 23:04:04 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-01 23:04:04 +0100 |
commit | c2efba6907fab934a04959b9bb644cf7141cc955 (patch) | |
tree | c047244f99870e44a7a5d7e733c2857434c03765 /src/T2DLL/T2FireWork.cpp | |
parent | 1eb8da84d77d0c865623421069ec38bfc7b0d461 (diff) | |
download | t2win-c2efba6907fab934a04959b9bb644cf7141cc955.tar.gz t2win-c2efba6907fab934a04959b9bb644cf7141cc955.zip |
matched T2DLL as well as i can
Diffstat (limited to 'src/T2DLL/T2FireWork.cpp')
-rw-r--r-- | src/T2DLL/T2FireWork.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) |