nixpkgs-suyu/pkgs/games/njam/logfile.patch

23 lines
656 B
Diff
Raw Normal View History

diff --git a/src/njamedit.cpp b/src/njamedit.cpp
index a895ca9..38477db 100644
--- a/src/njamedit.cpp
+++ b/src/njamedit.cpp
@@ -114,7 +114,7 @@ void NjamEngine::LevelEditor()
key = SDLK_a;
else if (CheckForSave())
{
- LogFile::LogFile("Saving maps");
+ LogFile("Saving maps");
m_Maps.Save(filename);
level_type_was = level_type;
changed = false;
@@ -139,7 +139,7 @@ void NjamEngine::LevelEditor()
"levels/%s.%s",
#endif
filename, types[level_type]);
- LogFile::LogFile("Saving maps");
+ LogFile("Saving maps");
m_Maps.Save(buf);
level_type_was = level_type;
changed = false;