Fix compilation. Hopefully I broke nothing
This commit is contained in:
parent
6dd4c6f803
commit
a31ed23bc0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user