aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/SnowManModel.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/SnowManModel.cpp
parent8a2a62ea1d47364f802cf9aae97668bc4a7007b5 (diff)
Revert "shared_ptr -> std::shared_ptr"
This reverts commit 7074f35e4ba831e358117842b99ee35b87f85ae5.
Diffstat (limited to 'Minecraft.Client/SnowManModel.cpp')
-rw-r--r--Minecraft.Client/SnowManModel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.Client/SnowManModel.cpp b/Minecraft.Client/SnowManModel.cpp
index 9380cce0..4344a17a 100644
--- a/Minecraft.Client/SnowManModel.cpp
+++ b/Minecraft.Client/SnowManModel.cpp
@@ -26,7 +26,7 @@ SnowManModel::SnowManModel() : Model()
piece2 = (new ModelPart(this, 0, 36))->setTexSize(64, 64);
piece2->addBox(-6, -12, -6, 12, 12, 12, g - 0.5f); // lower body
- piece2->setPos(0, 0 + yOffset + 20, 0);
+ piece2->setPos(0, 0 + yOffset + 20, 0);
// 4J added - compile now to avoid random performance hit first time cubes are rendered
head->compile(1.0f/16.0f);
@@ -53,12 +53,12 @@ void SnowManModel::setupAnim(float time, float r, float bob, float yRot, float x
arm1->x = (c) * 5;
arm1->z = (-s) * 5;
-
+
arm2->x = (-c) * 5;
arm2->z = (s) * 5;
}
-void SnowManModel::render(std::shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled)
+void SnowManModel::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);