mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-20 05:37:03 -04:00
Clean up code for various actors
This commit is contained in:
@@ -1299,14 +1299,14 @@ static BOOL useHeapInit(fopAc_ac_c* i_actor) {
|
||||
i_this->mpBtkAnm = new mDoExt_btkAnm();
|
||||
if (!i_this->mpBtkAnm) { return FALSE; }
|
||||
J3DAnmTextureSRTKey* pbtk = (J3DAnmTextureSRTKey*)dComIfG_getObjectRes("AM2", AM2_BTK_AM2);
|
||||
int ret = i_this->mpBtkAnm->init(model->getModelData(), pbtk, TRUE, 2, 1.0, 0, -1, false, 0);
|
||||
int ret = i_this->mpBtkAnm->init(model->getModelData(), pbtk, TRUE, 2, 1.0f, 0, -1, false, 0);
|
||||
if (!ret) { return FALSE; }
|
||||
if (!i_this->mpBtkAnm) { return FALSE; }
|
||||
|
||||
i_this->mpBrkAnm = new mDoExt_brkAnm();
|
||||
if (!i_this->mpBrkAnm) { return FALSE; }
|
||||
J3DAnmTevRegKey* pbrk = (J3DAnmTevRegKey*)dComIfG_getObjectRes("AM2", AM2_BRK_AM2);
|
||||
ret = i_this->mpBrkAnm->init(model->getModelData(), pbrk, TRUE, 2, 1.0, 0, -1, false, 0);
|
||||
ret = i_this->mpBrkAnm->init(model->getModelData(), pbrk, TRUE, 2, 1.0f, 0, -1, false, 0);
|
||||
if (!ret) { return FALSE; }
|
||||
if (!i_this->mpBrkAnm) { return FALSE; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user