diff options
author | rubidium <rubidium@openttd.org> | 2008-09-30 20:39:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-09-30 20:39:50 +0000 |
commit | f56e630e5cb839b307f04bf52465c4db4d1ad904 (patch) | |
tree | 69fb7ae1d9bdadb9e7386cb70b0a26621ad9b57f /src/signal.cpp | |
parent | dba193d4a54707a19d8f3c2f42a1ac10ff544c5c (diff) | |
download | openttd-f56e630e5cb839b307f04bf52465c4db4d1ad904.tar.xz |
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
Diffstat (limited to 'src/signal.cpp')
-rw-r--r-- | src/signal.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/signal.cpp b/src/signal.cpp index 9a86ceb8f..aa2c753d5 100644 --- a/src/signal.cpp +++ b/src/signal.cpp @@ -473,13 +473,13 @@ static inline void ResetSets() /** * Updates blocks in _globset buffer * - * @param owner player whose signals we are updating + * @param owner company whose signals we are updating * @return state of the first block from _globset - * @pre IsValidPlayerID(owner) + * @pre IsValidCompanyID(owner) */ static SigSegState UpdateSignalsInBuffer(Owner owner) { - assert(IsValidPlayerID(owner)); + assert(IsValidCompanyID(owner)); bool first = true; // first block? SigSegState state = SIGSEG_FREE; // value to return @@ -594,7 +594,7 @@ void AddTrackToSignalBuffer(TileIndex tile, Track track, Owner owner) DIAGDIR_SW, DIAGDIR_NW, DIAGDIR_NW, DIAGDIR_SW, DIAGDIR_NW, DIAGDIR_NE }; - /* do not allow signal updates for two players in one run */ + /* do not allow signal updates for two companies in one run */ assert(_globset.IsEmpty() || owner == _last_owner); _last_owner = owner; @@ -619,7 +619,7 @@ void AddTrackToSignalBuffer(TileIndex tile, Track track, Owner owner) */ void AddSideToSignalBuffer(TileIndex tile, DiagDirection side, Owner owner) { - /* do not allow signal updates for two players in one run */ + /* do not allow signal updates for two companies in one run */ assert(_globset.IsEmpty() || owner == _last_owner); _last_owner = owner; |