mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-03 14:45:57 +01:00
Fix shadowed declaration warning.
This commit is contained in:
parent
18184429bb
commit
4813832b92
@ -39,8 +39,8 @@ void BrushAction::do_action(PaintCanvas *canvas, const Array &data) {
|
||||
for (int i = 0; i < pixels.size(); ++i) {
|
||||
Vector2i pixel = pixels[i];
|
||||
|
||||
for (int i = 0; i < brush.size(); ++i) {
|
||||
Vector2i off = brush[i];
|
||||
for (int j = 0; j < brush.size(); ++j) {
|
||||
Vector2i off = brush[j];
|
||||
Vector2i p = pixel + off;
|
||||
|
||||
if (undo_cells.contains(p)) {
|
||||
|
Loading…
Reference in New Issue
Block a user