mirror of
https://github.com/Relintai/tile_map_backport.git
synced 2024-11-05 10:11:16 +01:00
Fix shadowed local warning.
This commit is contained in:
parent
0f236ed797
commit
cc798a101b
@ -1672,8 +1672,8 @@ void RTileSet::draw_terrains(CanvasItem *p_canvas_item, Transform2D p_transform,
|
||||
Vector<Color> colors;
|
||||
colors.resize(polygon.size());
|
||||
|
||||
for (int i = 0; i < colors.size(); ++i) {
|
||||
colors.write[i] = Color(1.0, 1.0, 1.0, 1.0);
|
||||
for (int j = 0; j < colors.size(); ++j) {
|
||||
colors.write[j] = Color(1.0, 1.0, 1.0, 1.0);
|
||||
}
|
||||
|
||||
Array a;
|
||||
|
Loading…
Reference in New Issue
Block a user