(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
/* static */ SignID AISign::GetMaxSignID()
|
||||
{
|
||||
return ::GetMaxSignIndex();
|
||||
return ::Sign::GetPoolSize() - 1;
|
||||
}
|
||||
|
||||
/* static */ bool AISign::IsValidSign(SignID sign_id)
|
||||
|
Reference in New Issue
Block a user