Skip to content

Commit

Permalink
pilot_episode.cpp:
Browse files Browse the repository at this point in the history
* Hopefully fixes int / size_t mixing warning.
  • Loading branch information
razterizer committed Sep 30, 2024
1 parent 462fe35 commit 104926e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pilot_Episode/pilot_episode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 104926e

Please sign in to comment.