From 94cf66a1221729c0fd16857cbf21596213b2550e Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Fri, 30 Jun 2023 06:39:07 +1000 Subject: [PATCH] Update StarTilePainter.cpp --- source/rendering/StarTilePainter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/rendering/StarTilePainter.cpp b/source/rendering/StarTilePainter.cpp index 2faf9d5..202d0ac 100644 --- a/source/rendering/StarTilePainter.cpp +++ b/source/rendering/StarTilePainter.cpp @@ -232,7 +232,7 @@ shared_ptr TilePainter::getTerrainChunk(WorldRe for (auto& layerPair : terrainPrimitives) { for (auto& zLevelPair : layerPair.second) { auto rb = m_renderer->createRenderBuffer(); - rb->set(move(zLevelPair.second)); + rb->set(LevelPair.second); (*chunk)[layerPair.first][zLevelPair.first] = move(rb); } } @@ -256,7 +256,7 @@ shared_ptr TilePainter::getLiquidChunk(WorldRend for (auto& p : liquidPrimitives) { auto rb = m_renderer->createRenderBuffer(); - rb->set(move(p.second)); + rb->set(p.second); chunk->set(p.first, move(rb)); }