mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-21 22:10:59 -04:00
d_bg_w_sv OK
This commit is contained in:
@@ -13,17 +13,17 @@ bool dBgWDeform::Set(cBgD_t* bgd, J3DModel* pmodel, u32 r30) {
|
||||
if (cBgW::Set(bgd, 0x33, NULL)) {
|
||||
return true;
|
||||
}
|
||||
mBC = r30;
|
||||
SetFlag(r30);
|
||||
if (pmodel->setSkinDeform(this, 1) == J3DErrType_OutOfMemory) {
|
||||
return true;
|
||||
}
|
||||
pmodel->offFlag(J3DMdlFlag_SkinNrmCpu);
|
||||
pmodel->onFlag(J3DMdlFlag_SkinPosCpu);
|
||||
if (mBC & 1) {
|
||||
if (ChkNoCrrPos()) {
|
||||
return false;
|
||||
}
|
||||
mC0 = new Vec[pm_bgd->m_v_num];
|
||||
if (mC0 == NULL) {
|
||||
SetBackVtx(new Vec[pm_bgd->m_v_num]);
|
||||
if (GetBackVtx() == NULL) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user