Codechange: Add missing this->
in override manager.
Variable scope is also tweaked in a couple of cases reducing line count.
This commit is contained in:

committed by
Michael Lutz

parent
eedb786872
commit
bcc53c5ad5
@@ -216,8 +216,8 @@ public:
|
||||
uint16 GetSubstituteID(uint16 entity_id) const;
|
||||
virtual uint16 GetID(uint8 grf_local_id, uint32 grfid) const;
|
||||
|
||||
inline uint16 GetMaxMapping() const { return max_new_entities; }
|
||||
inline uint16 GetMaxOffset() const { return max_offset; }
|
||||
inline uint16 GetMaxMapping() const { return this->max_new_entities; }
|
||||
inline uint16 GetMaxOffset() const { return this->max_offset; }
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user