Remove use of memcmp in CheckCaches
This commit is contained in:
@@ -123,6 +123,8 @@ struct TrainCache {
|
||||
|
||||
int16_t cached_curve_speed_mod; ///< curve speed modifier of the entire train
|
||||
uint16_t cached_max_curve_speed; ///< max consist speed limited by curves
|
||||
|
||||
bool operator==(const TrainCache &) const = default;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user