aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/OzelotModel.cpp
diff options
context:
space:
mode:
authorvoid_17 <heroerror3@gmail.com>2026-03-02 17:37:16 +0700
committervoid_17 <heroerror3@gmail.com>2026-03-02 17:37:16 +0700
commit119bff351450ea16ffda550b6e0f67379b29f708 (patch)
treed9f28714afd516bc2450f33b0a77c5e05ff4de90 /Minecraft.Client/OzelotModel.cpp
parent8a2a62ea1d47364f802cf9aae97668bc4a7007b5 (diff)
Revert "shared_ptr -> std::shared_ptr"
This reverts commit 7074f35e4ba831e358117842b99ee35b87f85ae5.
Diffstat (limited to 'Minecraft.Client/OzelotModel.cpp')
-rw-r--r--Minecraft.Client/OzelotModel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.Client/OzelotModel.cpp b/Minecraft.Client/OzelotModel.cpp
index b0557012..9c22cc4b 100644
--- a/Minecraft.Client/OzelotModel.cpp
+++ b/Minecraft.Client/OzelotModel.cpp
@@ -78,7 +78,7 @@ OzelotModel::OzelotModel()
backLegR->compile(1.0f/16.0f);
}
-void OzelotModel::render(std::shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled)
+void OzelotModel::render(shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled)
{
setupAnim(time, r, bob, yRot, xRot, scale);
if (young)
@@ -180,9 +180,9 @@ void OzelotModel::setupAnim(float time, float r, float bob, float yRot, float xR
}
}
-void OzelotModel::prepareMobModel(std::shared_ptr<Mob> mob, float time, float r, float a)
+void OzelotModel::prepareMobModel(shared_ptr<Mob> mob, float time, float r, float a)
{
- std::shared_ptr<Ozelot> ozelot = dynamic_pointer_cast<Ozelot>(mob);
+ shared_ptr<Ozelot> ozelot = dynamic_pointer_cast<Ozelot>(mob);
body->y = bodyWalkY;
body->z = bodyWalkZ;