mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-03-08 06:45:12 +01: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:
parent
a9f0d81804
commit
1c6cfcd2a5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue