(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 cd382b28a3
commit 329407e9bc

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)