mirror of https://github.com/AxioDL/metaforce.git
CMapArea: Resolve variable name shadowing
This commit is contained in:
parent
b570168359
commit
62682fe19f
|
@ -73,8 +73,8 @@ void CMapArea::PostConstruct() {
|
||||||
linePrims.reserve(outlineCount * 2);
|
linePrims.reserve(outlineCount * 2);
|
||||||
for (u32 j = 0; j < 2; ++j) {
|
for (u32 j = 0; j < 2; ++j) {
|
||||||
r.seek(4, athena::SeekOrigin::Begin);
|
r.seek(4, athena::SeekOrigin::Begin);
|
||||||
for (u32 i = 0; i < outlineCount; ++i) {
|
for (u32 k = 0; k < outlineCount; ++k) {
|
||||||
u32 count = r.readUint32Big();
|
const u32 count = r.readUint32Big();
|
||||||
r.seek(count);
|
r.seek(count);
|
||||||
r.seekAlign4();
|
r.seekAlign4();
|
||||||
linePrims.emplace_back(ctx, CLineRenderer::EPrimitiveMode::LineStrip, count, nullptr, false, false, true);
|
linePrims.emplace_back(ctx, CLineRenderer::EPrimitiveMode::LineStrip, count, nullptr, false, false, true);
|
||||||
|
|
Loading…
Reference in New Issue