* fix standard compiler error for d_a_tag_TWgate

* fix standard compiler errors for J3DJoint

* fix regression in ShieldD
This commit is contained in:
kipcode66 2026-01-26 17:20:19 -05:00 committed by GitHub
parent be3efedee3
commit d787afaee0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -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"

View File

@ -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) {