mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-07 09:05:25 +00:00
fix: resolve all build warnings and notes
This commit is contained in:
@@ -10,6 +10,8 @@ ModelPart* HumanoidModel::AddOrRetrievePart(SKIN_BOX* pBox) {
|
||||
ModelPart* pAttachTo = NULL;
|
||||
|
||||
switch (pBox->ePart) {
|
||||
case eBodyPart_Unknown:
|
||||
return nullptr;
|
||||
case eBodyPart_Head:
|
||||
pAttachTo = head;
|
||||
break;
|
||||
@@ -243,7 +245,7 @@ void HumanoidModel::setupAnim(float time, float r, float bob, float yRot,
|
||||
leg1->yRot = 0.0f;
|
||||
|
||||
if (riding) {
|
||||
if (uiBitmaskOverrideAnim & (1 << eAnim_SmallModel) == 0) {
|
||||
if ((uiBitmaskOverrideAnim & (1 << eAnim_SmallModel)) == 0) {
|
||||
arm0->xRot += -HALF_PI * 0.4f;
|
||||
arm1->xRot += -HALF_PI * 0.4f;
|
||||
leg0->xRot = -HALF_PI * 0.8f;
|
||||
|
||||
Reference in New Issue
Block a user