diff options
Diffstat (limited to 'src/BlockEntities/BedEntity.cpp')
-rw-r--r-- | src/BlockEntities/BedEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/BedEntity.cpp b/src/BlockEntities/BedEntity.cpp index c74448661..a9cb178b0 100644 --- a/src/BlockEntities/BedEntity.cpp +++ b/src/BlockEntities/BedEntity.cpp @@ -23,7 +23,7 @@ cBedEntity::cBedEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, int a_Bloc void cBedEntity::CopyFrom(const cBlockEntity & a_Src) { Super::CopyFrom(a_Src); - auto & src = reinterpret_cast<const cBedEntity &>(a_Src); + auto & src = static_cast<const cBedEntity &>(a_Src); m_Color = src.m_Color; } |