mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-11 21:31:10 +01:00
Fix shadowed declaration warning.
This commit is contained in:
parent
125af06336
commit
c3d05ab91f
@ -501,10 +501,10 @@ void PropMesher::add_tiled_wall_simple(const int width, const int height, const
|
|||||||
} else {
|
} else {
|
||||||
int indx = Math::rand() % flavour_rects.size();
|
int indx = Math::rand() % flavour_rects.size();
|
||||||
|
|
||||||
float yh = flavour_y_sizes[indx];
|
float fyh = flavour_y_sizes[indx];
|
||||||
add_tiled_wall_mesh_rect_simple(x, ych, yh, 0, 0, transform, flavour_rects[indx]);
|
add_tiled_wall_mesh_rect_simple(x, ych, fyh, 0, 0, transform, flavour_rects[indx]);
|
||||||
|
|
||||||
ych += yh;
|
ych += fyh;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user