mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Remove 'all' argument from setrtl
It doesn't make sense to change the alignment of all existing text boxes when you're not otherwise able to mutate the text. Whereas the point of the 'all' argument in setfont is to be able to animate text boxes using fonts.
This commit is contained in:
@@ -2510,7 +2510,7 @@ void scriptclass::run(void)
|
||||
{
|
||||
font::set_level_font(raw_words[1].c_str());
|
||||
}
|
||||
if (argexists[2] && words[2] == "all")
|
||||
if (words[0] == "setfont" && argexists[2] && words[2] == "all")
|
||||
{
|
||||
/* Immediately update all text boxes. */
|
||||
uint32_t flags = PR_FONT_IDX(font::font_idx_level, cl.rtl);
|
||||
|
||||
Reference in New Issue
Block a user