Codechange: Remove min/max functions in favour of STL variants (#8502)
This commit is contained in:
@@ -814,7 +814,7 @@ void GamelogInfo(LoggedAction *gamelog_action, uint gamelog_actions, uint32 *las
|
||||
|
||||
case GLCT_REVISION:
|
||||
*last_ottd_rev = lc->revision.newgrf;
|
||||
*ever_modified = max(*ever_modified, lc->revision.modified);
|
||||
*ever_modified = std::max(*ever_modified, lc->revision.modified);
|
||||
break;
|
||||
|
||||
case GLCT_GRFREM:
|
||||
|
Reference in New Issue
Block a user