diff options
author | yexo <yexo@openttd.org> | 2009-08-08 13:50:18 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-08-08 13:50:18 +0000 |
commit | 2d1c64948a2d3e30844cc1332eed744a4a957bc8 (patch) | |
tree | 8ab71bcafca92c8ff7bdb49f75221d8b2fc47bd0 /src/ai/api/ai_sign.cpp | |
parent | ba2f6f0a669acb7132971ab13990500ad3089d80 (diff) | |
download | openttd-2d1c64948a2d3e30844cc1332eed744a4a957bc8.tar.xz |
(svn r17110) -Fix [NoAI]: Print a warning message in the AI console when a deprecated function is used
Diffstat (limited to 'src/ai/api/ai_sign.cpp')
-rw-r--r-- | src/ai/api/ai_sign.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/api/ai_sign.cpp b/src/ai/api/ai_sign.cpp index 29609f29a..66ea4183c 100644 --- a/src/ai/api/ai_sign.cpp +++ b/src/ai/api/ai_sign.cpp @@ -15,6 +15,7 @@ /* static */ SignID AISign::GetMaxSignID() { + AILog::Warning("AISign::GetMaxSignID is deprecated and will be removed soon, please use AISignList instead."); return (SignID)::Sign::GetPoolSize(); } |