mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-11 19:53:52 +00:00
dynamic_pointer_cast -> std::dynamic_pointer_cast
This commit is contained in:
parent
7bee4770df
commit
07ad68bc15
207 changed files with 623 additions and 623 deletions
|
|
@ -499,7 +499,7 @@ void ConsoleSchematicFile::applyTileEntities(LevelChunk *chunk, AABB *chunkBox,
|
|||
|
||||
if( e->GetType() == eTYPE_PAINTING )
|
||||
{
|
||||
std::shared_ptr<Painting> painting = dynamic_pointer_cast<Painting>(e);
|
||||
std::shared_ptr<Painting> painting = std::dynamic_pointer_cast<Painting>(e);
|
||||
|
||||
double tileX = painting->xTile;
|
||||
double tileZ = painting->zTile;
|
||||
|
|
@ -512,7 +512,7 @@ void ConsoleSchematicFile::applyTileEntities(LevelChunk *chunk, AABB *chunkBox,
|
|||
}
|
||||
else if( e->GetType() == eTYPE_ITEM_FRAME )
|
||||
{
|
||||
std::shared_ptr<ItemFrame> frame = dynamic_pointer_cast<ItemFrame>(e);
|
||||
std::shared_ptr<ItemFrame> frame = std::dynamic_pointer_cast<ItemFrame>(e);
|
||||
|
||||
double tileX = frame->xTile;
|
||||
double tileZ = frame->zTile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue