Fixed linux compilation.

This commit is contained in:
hiker 2014-02-06 15:56:41 +11:00
parent 78b73aa3c8
commit dd860f46f9
3 changed files with 3 additions and 4 deletions

View File

@ -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 <assert.h>
#include <fstream>
#include <sstream>
#include <stdlib.h>
#include <assert.h>
// ============================================================================
Achievement::Achievement(const AchievementInfo * info)

View File

@ -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"

View File

@ -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