mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-25 03:03:50 +00:00
Revert "dynamic_pointer_cast -> std::dynamic_pointer_cast"
This reverts commit 07ad68bc15.
This commit is contained in:
parent
07ad68bc15
commit
7ae0c13854
207 changed files with 623 additions and 623 deletions
|
|
@ -63,7 +63,7 @@ void TreeTile::onRemove(Level *level, int x, int y, int z, int id, int data)
|
|||
void TreeTile::setPlacedBy(Level *level, int x, int y, int z, std::shared_ptr<Mob> by)
|
||||
{
|
||||
int type = level->getData(x, y, z) & MASK_TYPE;
|
||||
int dir = PistonBaseTile::getNewFacing(level, x, y, z, std::dynamic_pointer_cast<Player>(by));
|
||||
int dir = PistonBaseTile::getNewFacing(level, x, y, z, dynamic_pointer_cast<Player>(by));
|
||||
int facing = 0;
|
||||
|
||||
switch (dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue