浏览代码

Fix #741

Local variable was used incorrectly. Did not result in any bugs, just a small amount of unnecessary network traffic.
Daniel Buckmaster 10 年之前
父节点
当前提交
11c70262c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
    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)