2
0
Эх сурвалжийг харах

Fix #741

Local variable was used incorrectly. Did not result in any bugs, just a small amount of unnecessary network traffic.
Daniel Buckmaster 10 жил өмнө
parent
commit
11c70262c4

+ 1 - 1
Engine/source/T3D/fx/explosion.cpp

@@ -606,7 +606,7 @@ void ExplosionData::packData(BitStream* stream)
    }
    U32 count;
    for(count = 0; count < EC_NUM_TIME_KEYS; count++)
-      if(times[i] >= 1)
+      if(times[count] >= 1)
          break;
    count++;
    if(count > EC_NUM_TIME_KEYS)