mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-26 16:09:10 +00:00
(svn r24675) -Fix (r24632): MSVC performance warning.
This commit is contained in:
@@ -1282,7 +1282,7 @@ uint SettingEntry::GetMaxHelpHeight(int maxw)
|
||||
*/
|
||||
bool SettingEntry::IsFiltered() const
|
||||
{
|
||||
return this->flags & SEF_FILTERED;
|
||||
return (this->flags & SEF_FILTERED) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user