Fix compilation. Hopefully I broke nothing

This commit is contained in:
Marianne Gagnon 2014-06-16 19:12:48 -04:00
parent 6dd4c6f803
commit a31ed23bc0

View File

@ -147,7 +147,7 @@ void AchievementsStatus::sync(const std::vector<uint32_t> & achieved_ids)
if(ids.size()>0)
{
ids.pop_back(); // delete the last "," in the string
ids = ids.substr(0, ids.size() - 1); // delete the last "," in the string
Log::info("Achievements", "Synching achievement %d to server.",
ids.c_str());
Online::HTTPRequest * request = new Online::HTTPRequest(true, 2);