Merge pull request #2742 from levzzz5154/fix/fire-animated-textures

🤖 Agent: read the diff at a77639022: test only: every graphics preset keeps animated textures on (#2064 stays fixed). verify green; parity selects no harness for it. Queued for the merger, which waits for this head's parity run.
This commit is contained in:
Ludovic Marie
2026-10-28 17:47:18 +01:00
committed by GitHub
+15
View File
@@ -588,6 +588,21 @@ mod tests {
}
}
#[test]
fn every_preset_keeps_the_animated_textures_on() {
// The Performance preset used to turn them off, which froze the fire,
// the water, the lava and the portals (#2064).
assert!(Graphics::default().animated_textures);
for preset in Preset::ALL {
let mut s = crate::settings::Settings::default();
apply_preset(preset, &mut s);
assert!(
s.horizon.animated_textures,
"{preset:?} turned the animated textures off"
);
}
}
#[test]
fn automatic_workers_leave_a_core_as_vanilla_does() {
let g = Graphics::default();