diff options
author | smatz <smatz@openttd.org> | 2009-05-17 01:00:56 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-05-17 01:00:56 +0000 |
commit | 871107f52952ee59c353feab933126ed206e60bf (patch) | |
tree | 482884dfedc1700bddb8812f1de755212ed8bb22 /src/signal.cpp | |
parent | ed1e54bd84074412ea9f273b7cd86aed42d844ce (diff) | |
download | openttd-871107f52952ee59c353feab933126ed206e60bf.tar.xz |
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
Diffstat (limited to 'src/signal.cpp')
-rw-r--r-- | src/signal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/signal.cpp b/src/signal.cpp index 826992370..947e71a9f 100644 --- a/src/signal.cpp +++ b/src/signal.cpp @@ -466,11 +466,11 @@ static inline void ResetSets() * * @param owner company whose signals we are updating * @return state of the first block from _globset - * @pre IsValidCompanyID(owner) + * @pre Company::IsValidID(owner) */ static SigSegState UpdateSignalsInBuffer(Owner owner) { - assert(IsValidCompanyID(owner)); + assert(Company::IsValidID(owner)); bool first = true; // first block? SigSegState state = SIGSEG_FREE; // value to return |