diff options
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/api/ai_sign.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_sign.cpp b/src/ai/api/ai_sign.cpp index 8876bbeec..349bf42a1 100644 --- a/src/ai/api/ai_sign.cpp +++ b/src/ai/api/ai_sign.cpp @@ -15,7 +15,7 @@ /* static */ SignID AISign::GetMaxSignID() { - return ::GetMaxSignIndex(); + return ::Sign::GetPoolSize() - 1; } /* static */ bool AISign::IsValidSign(SignID sign_id) |