diff --git a/Pilot_Episode/pilot_episode.cpp b/Pilot_Episode/pilot_episode.cpp index 3f0b6e4..bd5868b 100644 --- a/Pilot_Episode/pilot_episode.cpp +++ b/Pilot_Episode/pilot_episode.cpp @@ -147,7 +147,7 @@ class Game : public GameEngine<> flock.x_pos = clouds::rnd_cloud_pos(); flock.y_pos = clouds::rnd_seagull_height(); flock.x_vel = (rnd::rand() - 0.5f) * 30.f; - for (size_t j = 0; j < num_birds; ++j) + for (int j = 0; j < num_birds; ++j) { auto& bird = flock.seagulls[j]; bird.x_rel_pos = rnd::rand() * 20;