Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/rendering/StarTilePainter.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-30 06:39:07 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-30 06:39:07 +1000
commit94cf66a1221729c0fd16857cbf21596213b2550e (patch)
treeb0e9b042d150da312493be5e989fc821cccb8119 /source/rendering/StarTilePainter.cpp
parent7d847fcd6ad67f793726946631ad00a266bdda16 (diff)
Update StarTilePainter.cpp
Diffstat (limited to 'source/rendering/StarTilePainter.cpp')
-rw-r--r--source/rendering/StarTilePainter.cpp4
1 files 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::TerrainChunk const> 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::LiquidChunk const> 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));
}