mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-22 12:38:12 +05:00
dynamic_pointer_cast -> std::dynamic_pointer_cast
This commit is contained in:
@@ -197,7 +197,7 @@ void EntityRenderDispatcher::prepare(Level *level, Textures *textures, Font *fon
|
||||
playerRotX = player->xRotO + (player->xRot - player->xRotO) * a;
|
||||
}
|
||||
|
||||
std::shared_ptr<Player> pl = dynamic_pointer_cast<Player>(player);
|
||||
std::shared_ptr<Player> pl = std::dynamic_pointer_cast<Player>(player);
|
||||
if (pl->ThirdPersonView() == 2)
|
||||
{
|
||||
playerRotY += 180;
|
||||
|
||||
Reference in New Issue
Block a user