mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-27 22:48:59 -04:00
Some TARGET_PC fixes
This commit is contained in:
@@ -110,7 +110,11 @@ static int bmd[2] = {
|
||||
6, 7,
|
||||
};
|
||||
|
||||
#ifdef TARGET_PC
|
||||
static int brk_res[2] = {
|
||||
#else
|
||||
static int brk[2] = {
|
||||
#endif
|
||||
10, 11,
|
||||
};
|
||||
|
||||
@@ -144,7 +148,11 @@ static int useHeapInit(fopAc_ac_c* actor) {
|
||||
return 0;
|
||||
}
|
||||
J3DAnmTevRegKey* anmTevKey = (J3DAnmTevRegKey*)dComIfG_getObjectRes(
|
||||
#ifdef TARGET_PC
|
||||
"Obj_gb", brk_res[i_this->field_0x57c]);
|
||||
#else
|
||||
"Obj_gb", brk[i_this->field_0x57c]);
|
||||
#endif
|
||||
if (i_this->mBrk->init(i_this->mModel->getModelData(), anmTevKey, 1, 2, 0.0f, 0, -1) == 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user