summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-09-30 20:39:50 +0000
committerrubidium <rubidium@openttd.org>2008-09-30 20:39:50 +0000
commit3b798599b63067c2e92aa49906ea66a07ae8de44 (patch)
tree69fb7ae1d9bdadb9e7386cb70b0a26621ad9b57f /src/vehicle_base.h
parentcc1e761edab14f8264dba44d09f7272d931bdd93 (diff)
downloadopenttd-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/vehicle_base.h')
-rw-r--r--src/vehicle_base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index d0bc4188c..d3368d2fc 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -256,7 +256,7 @@ public:
byte z_pos;
DirectionByte direction; // facing
- PlayerByte owner; // which player owns the vehicle?
+ OwnerByte owner; // which company owns the vehicle?
byte spritenum; // currently displayed sprite index
// 0xfd == custom sprite, 0xfe == custom second head sprite
// 0xff == reserved for another custom sprite
@@ -532,7 +532,7 @@ public:
this->service_interval = src->service_interval;
}
- bool NeedsAutorenewing(const Player *p) const;
+ bool NeedsAutorenewing(const Company *c) const;
/**
* Check if the vehicle needs to go to a depot in near future (if a opportunity presents itself) for service or replacement.