mirror of
https://github.com/Relintai/tile_map_backport.git
synced 2024-11-12 20:17:18 +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;
|
Vector<Color> colors;
|
||||||
colors.resize(polygon.size());
|
colors.resize(polygon.size());
|
||||||
|
|
||||||
for (int i = 0; i < colors.size(); ++i) {
|
for (int j = 0; j < colors.size(); ++j) {
|
||||||
colors.write[i] = Color(1.0, 1.0, 1.0, 1.0);
|
colors.write[j] = Color(1.0, 1.0, 1.0, 1.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
Array a;
|
Array a;
|
||||||
|
Loading…
Reference in New Issue
Block a user