Skip to content

Commit

Permalink
pilot_episode.cpp:
Browse files Browse the repository at this point in the history
* Windows warning fix.
  • Loading branch information
razterizer committed Oct 1, 2024
1 parent bed1be6 commit 306aa4d
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 @@ -103,7 +103,7 @@ class Game : public GameEngine<>
//if (argc >= 2)
// GameEngine::set_delay_us(atoi(argv[1]));
if (argc >= 2)
GameEngine::set_real_fps(atoi(argv[1]));
GameEngine::set_real_fps(atof(argv[1]));

auto set_alt = [&]() -> float { return -alt_km_f * 1e3f / pix_to_m + ground_level + 13 * pix_ar2; };
plane_data::y_pos = set_alt();
Expand Down

0 comments on commit 306aa4d

Please sign in to comment.