mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-08 12:16:17 -04:00
This commit is contained in:
@@ -208,6 +208,9 @@ void dMirror_packet_c::modelDraw(J3DModel* i_model, Mtx param_1) {
|
||||
color.a = kankyo->bg_amb_col[0].a;
|
||||
|
||||
J3DModelData* modelData = i_model->getModelData();
|
||||
#if TARGET_PC
|
||||
j3dSys.setTexture(modelData->getTexture());
|
||||
#endif
|
||||
u16 materialNum = modelData->getMaterialNum();
|
||||
for (u16 i = 0; i < materialNum; i++) {
|
||||
J3DMatPacket* matPacket = i_model->getMatPacket(i);
|
||||
|
||||
@@ -2199,6 +2199,9 @@ void mDoExt_invJntPacket::draw() {
|
||||
|
||||
if (field_0x16) {
|
||||
J3DModelData* sp20 = field_0x10->getModelData();
|
||||
#if TARGET_PC
|
||||
j3dSys.setTexture(sp20->getTexture());
|
||||
#endif
|
||||
J3DJoint* sp1C = sp20->getJointNodePointer(field_0x14);
|
||||
|
||||
for (J3DMaterial* mesh = sp1C->getMesh(); mesh != NULL; mesh = mesh->getNext()) {
|
||||
|
||||
Reference in New Issue
Block a user