(svn r16395) -Fix (r16379): max sign ID can be higher than total number of signs

This commit is contained in:
smatz 2009-05-23 11:13:43 +00:00
parent 6237fe1462
commit b270ca84ba

View File

@ -15,7 +15,7 @@
/* static */ SignID AISign::GetMaxSignID()
{
return (SignID)::Sign::GetNumItems();
return (SignID)::Sign::GetPoolSize();
}
/* static */ bool AISign::IsValidSign(SignID sign_id)