vector handling bugfix
This commit is contained in:
@@ -442,8 +442,8 @@ SessionData::IsPlayerAllowedToJoinLimitRank()
|
|||||||
|
|
||||||
unsigned long num = (unsigned long)SERVER_ALLOWED_RANKING_GAMES_PER_MINUTES;
|
unsigned long num = (unsigned long)SERVER_ALLOWED_RANKING_GAMES_PER_MINUTES;
|
||||||
|
|
||||||
int count = 0;
|
unsigned long count = 0;
|
||||||
for(std::vector<T>::iterator timeStamp = m_lastGames.begin(); timeStamp != m_lastGames.end(); ++timeStamp) {
|
for(std::vector<unsigned long>::iterator timeStamp = m_lastGames.begin(); timeStamp != m_lastGames.end(); ++timeStamp) {
|
||||||
if(timeStamp > then)
|
if(timeStamp > then)
|
||||||
count++;
|
count++;
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user