]> git.localhorst.tv Git - blobs.git/blobdiff - src/blobs.cpp
standardized logging
[blobs.git] / src / blobs.cpp
index d6a6fede8469f0b81518b291316d6def3356a9bc..01bfb2a8ed7c1fd8c8aa99207c752a2966b49f45 100644 (file)
@@ -24,7 +24,7 @@ struct SwitchPanel {
 
        void operator ()(creature::Creature &c) {
                if (planet.Creatures().empty()) {
-                       std::cout << "no more creatures, game over" << std::endl;
+                       planet.GetSimulation().Log() << "no more creatures, game over" << std::endl;
                        state.GetCreaturePanel().Hide();
                        while (app.HasState()) {
                                app.PopState();