Codechange: Use std::array for water features.
Replaces a memset() with fill().
This commit is contained in:
committed by
Peter Nelson
parent
ebc57634e4
commit
b9ae833e96
@@ -8838,7 +8838,7 @@ void ResetNewGRFData()
|
||||
ResetCustomRoadStops();
|
||||
|
||||
/* Reset canal sprite groups and flags */
|
||||
memset(_water_feature, 0, sizeof(_water_feature));
|
||||
_water_feature.fill({});
|
||||
|
||||
/* Reset the snowline table. */
|
||||
ClearSnowLine();
|
||||
|
||||
Reference in New Issue
Block a user