From d787afaee05a8facca99ca4e30323b66e72157ea Mon Sep 17 00:00:00 2001 From: kipcode66 Date: Mon, 26 Jan 2026 17:20:19 -0500 Subject: [PATCH] Std7 (#3068) * fix standard compiler error for d_a_tag_TWgate * fix standard compiler errors for J3DJoint * fix regression in ShieldD --- include/JSystem/J3DGraphAnimator/J3DJoint.h | 1 + src/d/actor/d_a_tag_TWgate.cpp | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/include/JSystem/J3DGraphAnimator/J3DJoint.h b/include/JSystem/J3DGraphAnimator/J3DJoint.h index eeecdabbd4d..4482e5d6182 100644 --- a/include/JSystem/J3DGraphAnimator/J3DJoint.h +++ b/include/JSystem/J3DGraphAnimator/J3DJoint.h @@ -1,6 +1,7 @@ #ifndef J3DJOINT_H #define J3DJOINT_H +#include "JSystem/J3DGraphAnimator/J3DAnimation.h" #include "JSystem/J3DGraphBase/J3DTransform.h" #include "JSystem/J3DGraphBase/J3DMaterial.h" diff --git a/src/d/actor/d_a_tag_TWgate.cpp b/src/d/actor/d_a_tag_TWgate.cpp index 85084747c9b..75d949d4d9e 100644 --- a/src/d/actor/d_a_tag_TWgate.cpp +++ b/src/d/actor/d_a_tag_TWgate.cpp @@ -356,9 +356,16 @@ void daTagTWGate_c::executeDemoFilone3() { } } +#ifndef __MWERKS__ + int modelSts; +#endif switch (*cutName) { case 0x30303031: +#ifndef __MWERKS__ + modelSts = downloadModels(); +#else int modelSts = downloadModels(); +#endif if (modelSts == 1) { eventManager.cutEnd(staffId); } else if (modelSts == -1) {