mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 22:13:24 +00:00
Fix MSVC variable hides variable warning
This commit is contained in:
parent
ec02c499c5
commit
e8cd3df79a
@ -434,8 +434,8 @@ void halo_impl::render()
|
||||
}
|
||||
|
||||
// Render the haloes: draw all invalidated haloes
|
||||
for(int halo_id : invalidated_haloes) {
|
||||
haloes.at(halo_id).render();
|
||||
for(int id : invalidated_haloes) {
|
||||
haloes.at(id).render();
|
||||
}
|
||||
|
||||
invalidated_haloes.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user