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