(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions)

This commit is contained in:
rubidium
2009-05-17 11:17:53 +00:00
parent 3322cc978f
commit e7dedf4e1b
5 changed files with 6 additions and 7 deletions

View File

@@ -327,7 +327,7 @@ static inline Town *GetRandomTown()
/* Make sure we have a valid town */
while (!Town::IsValidID(index)) {
index++;
assert(index <= GetMaxTownIndex());
assert(index < Town::GetPoolSize());
}
}