change textures
This commit is contained in:
@@ -74,7 +74,10 @@ static void fill_row(char *row, char *line, int width)
|
||||
i = 0;
|
||||
while (line != NULL && line[i] != '\0' && line[i] != '\n')
|
||||
{
|
||||
row[i] = line[i];
|
||||
if (line[i] == '.')
|
||||
row[i] = '0';
|
||||
else
|
||||
row[i] = line[i];
|
||||
i++;
|
||||
}
|
||||
while (i < width - 1)
|
||||
|
||||
Reference in New Issue
Block a user