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 | 3b798599b63067c2e92aa49906ea66a07ae8de44 (patch) | |
tree | 69fb7ae1d9bdadb9e7386cb70b0a26621ad9b57f /src/signs_base.h | |
parent | cc1e761edab14f8264dba44d09f7272d931bdd93 (diff) | |
download | openttd-3b798599b63067c2e92aa49906ea66a07ae8de44.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/signs_base.h')
-rw-r--r-- | src/signs_base.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/signs_base.h b/src/signs_base.h index 4d0d05926..1c25656e2 100644 --- a/src/signs_base.h +++ b/src/signs_base.h @@ -17,17 +17,17 @@ struct Sign : PoolItem<Sign, SignID, &_Sign_pool> { int32 x; int32 y; byte z; - PlayerByte owner; // placed by this player. Anyone can delete them though. OWNER_NONE for gray signs from old games. + OwnerByte owner; // placed by this company. Anyone can delete them though. OWNER_NONE for gray signs from old games. /** * Creates a new sign */ - Sign(PlayerID owner = INVALID_PLAYER); + Sign(Owner owner = INVALID_OWNER); /** Destroy the sign */ ~Sign(); - inline bool IsValid() const { return this->owner != INVALID_PLAYER; } + inline bool IsValid() const { return this->owner != INVALID_OWNER; } }; static inline SignID GetMaxSignIndex() |