summaryrefslogtreecommitdiffstats
path: root/src/PalettedBlockArea.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2019-12-01 14:41:46 +0100
committerMattes D <github@xoft.cz>2019-12-28 22:43:35 +0100
commit2de6b7537d37dff82afe5563704949e9d4131a52 (patch)
treee82888542a559315dc59dacee61c09e6f7946c8e /src/PalettedBlockArea.cpp
parentUpdate submodules (#4439) (diff)
downloadcuberite-2de6b7537d37dff82afe5563704949e9d4131a52.tar
cuberite-2de6b7537d37dff82afe5563704949e9d4131a52.tar.gz
cuberite-2de6b7537d37dff82afe5563704949e9d4131a52.tar.bz2
cuberite-2de6b7537d37dff82afe5563704949e9d4131a52.tar.lz
cuberite-2de6b7537d37dff82afe5563704949e9d4131a52.tar.xz
cuberite-2de6b7537d37dff82afe5563704949e9d4131a52.tar.zst
cuberite-2de6b7537d37dff82afe5563704949e9d4131a52.zip
Diffstat (limited to 'src/PalettedBlockArea.cpp')
-rw-r--r--src/PalettedBlockArea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PalettedBlockArea.cpp b/src/PalettedBlockArea.cpp
index e703adec0..fd1dcf332 100644
--- a/src/PalettedBlockArea.cpp
+++ b/src/PalettedBlockArea.cpp
@@ -178,7 +178,7 @@ void PalettedBlockArea::paste(const PalettedBlockArea & aSrc, const cCuboid & aS
}
// Create a transform map from aSrc's palette to our palette:
- auto paletteTransform = mPalette.createTransformMap(aSrc.mPalette);
+ auto paletteTransform = mPalette.createTransformMapAddMissing(aSrc.mPalette);
// Copy the data:
UInt32 srcStrideY = static_cast<UInt32>(aSrc.size().x * aSrc.size().z);