From dd860f46f9b2118d6d5a6374764a379016f43f07 Mon Sep 17 00:00:00 2001 From: hiker Date: Thu, 6 Feb 2014 15:56:41 +1100 Subject: [PATCH] Fixed linux compilation. --- src/achievements/achievement.cpp | 4 ++-- src/challenges/challenge.cpp | 1 - src/challenges/unlock_manager.cpp | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/achievements/achievement.cpp b/src/achievements/achievement.cpp index be439a8ed..447ed2770 100644 --- a/src/achievements/achievement.cpp +++ b/src/achievements/achievement.cpp @@ -22,14 +22,14 @@ #include "achievements/achievement_info.hpp" #include "guiengine/dialog_queue.hpp" #include "states_screens/dialogs/notification_dialog.hpp" -#include "io/xml_writer.hpp" #include "utils/log.hpp" #include "utils/translation.hpp" +#include +#include #include #include -#include // ============================================================================ Achievement::Achievement(const AchievementInfo * info) diff --git a/src/challenges/challenge.cpp b/src/challenges/challenge.cpp index ea2badca6..05ef8270a 100644 --- a/src/challenges/challenge.cpp +++ b/src/challenges/challenge.cpp @@ -22,7 +22,6 @@ #include "challenges/challenge_data.hpp" #include "io/xml_node.hpp" -#include "io/xml_writer.hpp" #include "karts/kart_properties_manager.hpp" #include "karts/kart_properties.hpp" #include "race/grand_prix_manager.hpp" diff --git a/src/challenges/unlock_manager.cpp b/src/challenges/unlock_manager.cpp index 317242ec4..e9d8ce72b 100644 --- a/src/challenges/unlock_manager.cpp +++ b/src/challenges/unlock_manager.cpp @@ -369,7 +369,7 @@ bool UnlockManager::deleteSlotsIfNeeded() if (!found) { #ifdef DEBUG - printf("Deleting gameslot %s, no player found.\n", + printf("Deleting gameslot %d, no player found.\n", it->second->getPlayerID()); #endif // Iterators aren't invalidated this way