Rename to rate_scaling_enable_ + Expose functions to lua

This commit is contained in:
teejusb
2025-03-02 10:34:28 -08:00
parent 9789ef9697
commit 368c257e95
5 changed files with 31 additions and 11 deletions
+4 -1
View File
@@ -25,7 +25,10 @@ Banner::Banner()
{
m_bScrolling = false;
m_fPercentScrolling = 0;
Actor::DisableTabTildeScaling();
// By default, don't let banners scale their rate with tab/tilde.
// This helps with animated/video banners.
Actor::SetRateScalingEnabled(false);
}
// Ugly: if sIsBanner is false, we're actually loading something other than a banner.