summaryrefslogtreecommitdiff
path: root/src/ai/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api')
-rw-r--r--src/ai/api/ai_sign.cpp2
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)