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