mirror of
https://github.com/zeldaret/tp
synced 2026-06-16 14:50:21 -04:00
b_gnd equivalent (#2340)
* b_gnd equivalent * fix dEvt_info_c inlines * fix some more inlines
This commit is contained in:
@@ -379,10 +379,10 @@ void daTbox2_c::actionOpenWait() {
|
||||
daMidna_c* midna_p = (daMidna_c*)daPy_py_c::getMidnaActor(); // cast needed for reg alloc
|
||||
daPy_py_c* player_p = daPy_getPlayerActorClass();
|
||||
|
||||
if (eventInfo.i_checkCommandDoor()) {
|
||||
if (eventInfo.checkCommandDoor()) {
|
||||
dComIfGp_event_onEventFlag(4);
|
||||
|
||||
if (mModelType != TYPE_SMALL_e && daPy_py_c::i_checkNowWolf() &&
|
||||
if (mModelType != TYPE_SMALL_e && daPy_py_c::checkNowWolf() &&
|
||||
!midna_p->checkMetamorphoseEnable())
|
||||
{
|
||||
mStaffIdx = dComIfGp_evmng_getMyStaffId(l_staff_name, NULL, 0);
|
||||
@@ -396,11 +396,11 @@ void daTbox2_c::actionOpenWait() {
|
||||
init_actionOpenDemo();
|
||||
}
|
||||
} else if (boxCheck()) {
|
||||
eventInfo.i_onCondition(dEvtCnd_CANDOOR_e);
|
||||
eventInfo.onCondition(dEvtCnd_CANDOOR_e);
|
||||
|
||||
if (mModelType == TYPE_SMALL_e) {
|
||||
eventInfo.setEventName("DEFAULT_TREASURE_SIMPLE");
|
||||
} else if (daPy_py_c::i_checkNowWolf() && !midna_p->checkMetamorphoseEnable()) {
|
||||
} else if (daPy_py_c::checkNowWolf() && !midna_p->checkMetamorphoseEnable()) {
|
||||
eventInfo.setEventName("DEFAULT_TREASURE_NOTOPEN");
|
||||
} else {
|
||||
eventInfo.setEventName("DEFAULT_TREASURE_NORMAL");
|
||||
|
||||
Reference in New Issue
Block a user