mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r24675) -Fix (r24632): MSVC performance warning.
This commit is contained in:
parent
a443375d44
commit
2c171f2f29
@ -1282,7 +1282,7 @@ uint SettingEntry::GetMaxHelpHeight(int maxw)
|
|||||||
*/
|
*/
|
||||||
bool SettingEntry::IsFiltered() const
|
bool SettingEntry::IsFiltered() const
|
||||||
{
|
{
|
||||||
return this->flags & SEF_FILTERED;
|
return (this->flags & SEF_FILTERED) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user