retype _createHeap and createHeap_CB

Fixes the return on createHeap_CB

Matching!
This commit is contained in:
Franklyn Tackitt
2024-02-21 18:38:32 -07:00
parent 87fd22d315
commit bb203d5fe6
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ public:
class daIkari_c : public fopAc_ac_c {
public:
void setMtx();
bool _createHeap();
BOOL _createHeap();
void getArg();
bool _execute();
bool _draw();
+3 -4
View File
@@ -14,9 +14,8 @@ daObjIkariHIO_c l_HIO;
const char daIkari_c::M_arcname[6] = "Ikari";
/* 000000EC-0000010C .text createHeap_CB__FP10fopAc_ac_c */
static BOOL createHeap_CB(fopAc_ac_c* i_this) {
((daIkari_c*)i_this)->_createHeap();
return;
static int createHeap_CB(fopAc_ac_c* i_this) {
return ((daIkari_c*)i_this)->_createHeap();
}
/* 0000010C-000001C4 .text setMtx__9daIkari_cFv */
@@ -33,7 +32,7 @@ void daIkari_c::setMtx() {
}
/* 000001C4-00000290 .text _createHeap__9daIkari_cFv */
bool daIkari_c::_createHeap() {
BOOL daIkari_c::_createHeap() {
static int ikari_bdl[5] = {0x03, 0x03, 0x03, 0x04, 0x05};
J3DModelData* modelData =