CShockWave: Resolve sign conversion warning

int was being used when size_t should have been.
This commit is contained in:
Lioncash 2020-04-06 13:25:28 -04:00
parent f96ea81d69
commit cfa6299704
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ void CShockWave::Think(float dt, CStateManager& mgr) {
x150_ += x154_ * dt;
x154_ += dt * x114_data.GetX30();
x110_elementGen->SetExternalVar(0, x150_);
for (int i = 0; i < x110_elementGen->GetNumActiveChildParticles(); ++i) {
for (size_t i = 0; i < x110_elementGen->GetNumActiveChildParticles(); ++i) {
auto& particle = static_cast<CElementGen&>(x110_elementGen->GetActiveChildParticle(i));
if (particle.Get4CharId() == SBIG('PART')) {
particle.SetExternalVar(0, x150_);