One leftover height use in Qt tile support

This commit is contained in:
cohrs
2002-03-18 00:02:51 +00:00
parent 48049de0ba
commit 2031835cb0

View File

@@ -4182,7 +4182,7 @@ NetHackQtGlyphs::NetHackQtGlyphs()
tiles_per_row = TILES_PER_ROW;
if (img.width()%tiles_per_row) {
impossible("Tile file \"%s\" has %d columns, not multiple of row count (%d)",
tile_file, img.height(), tiles_per_row);
tile_file, img.width(), tiles_per_row);
}
}
int rows = ((total_tiles_used+tiles_per_row-1) / tiles_per_row);