Fix a build issue for Travis CI.

This commit is contained in:
Guillaume P 2014-03-15 15:58:17 +01:00
parent 8a34be1ab3
commit 5af377da07
2 changed files with 1 additions and 2 deletions

View File

@ -475,7 +475,7 @@ void World::terminateRace()
if (m_karts[i]->getPosition() == winnerPosition && kart_amount > opponents )
{
// Update the achievement
std::transform(modeName.begin(), modeName.end(), modeName.begin(), std::tolower);
modeName = StringUtils::toLowerCase(modeName);
if (achiev->getValue("opponents") <= 0)
PlayerManager::increaseAchievement(AchievementInfo::ACHIEVE_GOLD_DRIVER,
"opponents", opponents);

View File

@ -25,7 +25,6 @@
* battle, etc.)
*/
#include <cctype>
#include <vector>
#include "modes/world_status.hpp"