1
0
Fork 0

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

release/1.0
smatz 2009-05-23 11:13:43 +00:00
parent 6237fe1462
commit b270ca84ba
1 changed files with 1 additions and 1 deletions

View File

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