From 07ad68bc156b3ab70401723bb074a29588ad3cb7 Mon Sep 17 00:00:00 2001 From: void_17 Date: Mon, 2 Mar 2026 17:10:34 +0700 Subject: dynamic_pointer_cast -> std::dynamic_pointer_cast --- Minecraft.Client/EndermanRenderer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Minecraft.Client/EndermanRenderer.cpp') diff --git a/Minecraft.Client/EndermanRenderer.cpp b/Minecraft.Client/EndermanRenderer.cpp index cf96e693..0655a415 100644 --- a/Minecraft.Client/EndermanRenderer.cpp +++ b/Minecraft.Client/EndermanRenderer.cpp @@ -14,7 +14,7 @@ void EndermanRenderer::render(std::shared_ptr _mob, double x, double y, { // 4J - original version used generics and thus had an input parameter of type Boat rather than std::shared_ptr we have here - // do some casting around instead - std::shared_ptr mob = dynamic_pointer_cast(_mob); + std::shared_ptr mob = std::dynamic_pointer_cast(_mob); model->carrying = mob->getCarryingTile() > 0; model->creepy = mob->isCreepy(); @@ -33,7 +33,7 @@ void EndermanRenderer::additionalRendering(std::shared_ptr _mob, float a) { // 4J - original version used generics and thus had an input parameter of type Boat rather than std::shared_ptr we have here - // do some casting around instead - std::shared_ptr mob = dynamic_pointer_cast(_mob); + std::shared_ptr mob = std::dynamic_pointer_cast(_mob); MobRenderer::additionalRendering(_mob, a); @@ -72,7 +72,7 @@ int EndermanRenderer::prepareArmor(std::shared_ptr _mob, int layer, float a { // 4J - original version used generics and thus had an input parameter of type Boat rather than std::shared_ptr we have here - // do some casting around instead - std::shared_ptr mob = dynamic_pointer_cast(_mob); + std::shared_ptr mob = std::dynamic_pointer_cast(_mob); if (layer != 0) return -1; -- cgit v1.2.3