summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/JSystem/J3DGraphAnimator/J3DJoint.h1
-rw-r--r--src/d/actor/d_a_tag_TWgate.cpp7
2 files changed, 8 insertions, 0 deletions
diff --git a/include/JSystem/J3DGraphAnimator/J3DJoint.h b/include/JSystem/J3DGraphAnimator/J3DJoint.h
index eeecdabbd4..4482e5d618 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 85084747c9..75d949d4d9 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) {