- fixed an uninitialized variable in v_font.cpp

SVN r907 (trunk)
This commit is contained in:
Christoph Oelckers 2008-04-12 22:18:38 +00:00
parent 96b72f2e33
commit c333a8ab82
1 changed files with 1 additions and 0 deletions

View File

@ -305,6 +305,7 @@ FFont::FFont (const char *name, const char *nametemplate, int first, int count,
for (i = 0; i < count; i++)
{
charlumps[i] = -1;
sprintf (buffer, nametemplate, i + start);
lump = Wads.CheckNumForName (buffer, ns_graphics);
if (doomtemplate && lump >= 0 && i + start == 121)