mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Clear font_positions if there is no font.txt
This fixes a bug where font_positions wouldn't get cleared after exiting a custom level that had a font.txt if it didn't exist in the default graphics, leading to messed-up-looking font rendering. This bug was originally discovered by Ally.
This commit is contained in:
@@ -267,6 +267,8 @@ void Graphics::Makebfont()
|
||||
++pos;
|
||||
}
|
||||
FILESYSTEM_freeMemory(&charmap);
|
||||
} else {
|
||||
font_positions.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user