refactor: expand AUTO_VAR macro

This commit is contained in:
Tropical committed 2026-03-29 23:59:05 -05:00
1 parent a330ecdcbb
commit e45151ae64
201 files changed
+1051 -1055

No files matched your search

+2 -2
View File
@@ -1331,8 +1331,8 @@ void Gui::tick() {
// viewing the Pause Menu. We don't show the guiMessages when a menu is
// up, so don't fade them out
if (!ui.GetMenuDisplayed(iPad)) {
AUTO_VAR(itEnd, guiMessages[iPad].end());
for (AUTO_VAR(it, guiMessages[iPad].begin()); it != itEnd; it++) {
auto itEnd = guiMessages[iPad].end();
for (auto it = guiMessages[iPad].begin(); it != itEnd; it++) {
(*it).ticks++;
}
}