diff --git a/doc/mainpage.hpp b/doc/mainpage.hpp index 51172d52..81767832 100644 --- a/doc/mainpage.hpp +++ b/doc/mainpage.hpp @@ -42,7 +42,7 @@ /// music.Play(); /// /// // Start the game loop -/// while (window.IsOpened()) +/// while (window.IsOpen()) /// { /// // Process events /// sf::Event event;