Skip to content

Commit

Permalink
Interface: remove remnants of pre-5c17c848 font code
Browse files Browse the repository at this point in the history
  • Loading branch information
lynxlynxlynx committed May 27, 2013
1 parent 9f43cec commit 1d8b1ea
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gemrb/core/Interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1351,13 +1351,11 @@ int Interface::LoadSprites()
const char* font_name;
unsigned short font_size = 0;
FontStyle font_style = NORMAL;
bool zero_space = false;

if (CustomFontPath[0]) {
font_name = tab->QueryField( rowName, "FONT_NAME" );// map a font alternative to the BAM ResRef since CHUs contain hardcoded refrences.
font_size = atoi( tab->QueryField( rowName, "PT_SIZE" ) );// not available in BAM fonts.
font_style = (FontStyle)atoi( tab->QueryField( rowName, "STYLE" ) );// not available in BAM fonts.
zero_space = (bool)atoi( tab->QueryField( rowName, "ZEROSPACE" ) );
}else{
font_name = ResRef;
}
Expand Down

0 comments on commit 1d8b1ea

Please sign in to comment.