More cleanup. Another unused file bites the dust.

svn-id: r11363
This commit is contained in:
Torbjörn Andersson 2003-11-25 07:35:52 +00:00
parent 07a9638d77
commit a1e80765f5
4 changed files with 12 additions and 109 deletions

View file

@ -405,11 +405,7 @@ uint32 FontRenderer::buildNewBloc(uint8 *ascii, int16 x, int16 y, uint16 width,
while (j < MAX_text_blocs && _blocList[j].text_mem)
j++;
#ifdef _SWORD2_DEBUG
// we've run out - might as well stop the system
if (j == MAX_text_blocs)
error("Build_new_block ran out of blocks!");
#endif
assert(j < MAX_text_blocs);
// make the sprite!
_blocList[j].text_mem = makeTextSprite(ascii, width, pen, fontRes);