Pārlūkot izejas kodu

Fix #741

Local variable was used incorrectly. Did not result in any bugs, just a small amount of unnecessary network traffic.
Daniel Buckmaster 10 gadi atpakaļ
vecāks
revīzija
11c70262c4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Engine/source/T3D/fx/explosion.cpp

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

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