summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2FireWork.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2FireWork.cpp')
-rw-r--r--src/T2DLL/T2FireWork.cpp4
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)