removed row and col usage from Draw_Character

This commit is contained in:
Chris Ison 2001-12-17 23:10:00 +00:00
parent 46001cd9e7
commit db71398238
1 changed files with 2 additions and 6 deletions

View File

@ -285,7 +285,6 @@ void
Draw_Character (int x, int y, int num) Draw_Character (int x, int y, int num)
{ {
float frow, fcol; float frow, fcol;
int row, col;
if (num == 32) if (num == 32)
return; // space return; // space
@ -295,11 +294,8 @@ Draw_Character (int x, int y, int num)
if (y <= -8) if (y <= -8)
return; // totally off screen return; // totally off screen
row = num >> 4; frow = (num >> 4) * CELL_SIZE;
col = num & 15; fcol = (num & 15) * CELL_SIZE;
frow = row * CELL_SIZE;
fcol = col * CELL_SIZE;
qfglBindTexture (GL_TEXTURE_2D, char_texture); qfglBindTexture (GL_TEXTURE_2D, char_texture);