some actor documentation and cleanup

This commit is contained in:
LagoLunatic
2024-01-18 18:55:47 -05:00
parent e724cdf62e
commit fa5010b1dd
35 changed files with 358 additions and 325 deletions
+2 -4
View File
@@ -305,8 +305,7 @@ s32 daObjMknjD::Act_c::Mthd_Create() {
m043E = prm_get_Type();
int switchIdx = prm_get_swSave();
if (fopAcM_isSwitch(this, switchIdx)) {
if (fopAcM_isSwitch(this, prm_get_swSave())) {
mEmitters[2] = NULL;
mEmitters[3] = NULL;
@@ -465,8 +464,7 @@ void daObjMknjD::Act_c::privateCut() {
case ACT_BREAK:
mDoAud_seStart(JA_SE_READ_RIDDLE_1);
int switchId = prm_get_swSave();
fopAcM_onSwitch(this, switchId);
fopAcM_onSwitch(this, prm_get_swSave());
mBreakTimer = 0;