Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Core/GameEngine/Source/GameClient/GUI/GameFont.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,8 @@ void FontLibrary::reset()
//-------------------------------------------------------------------------------------------------
GameFont *FontLibrary::getFont( AsciiString name, Int pointSize, Bool bold )
{
// sanity check the size - anything over 100 is probably wrong. -MW
// TheSuperHackers @fix Now also no longer creates fonts with zero size.
if (pointSize < 1 || pointSize > 100)
// TheSuperHackers @fix No longer creates fonts with zero size. And allows fonts with size larger than 100.
if (pointSize < 1)
{
return nullptr;
}
Expand Down
Loading