summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_obj_movebox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/actor/d_a_obj_movebox.cpp')
-rw-r--r--src/d/actor/d_a_obj_movebox.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/d/actor/d_a_obj_movebox.cpp b/src/d/actor/d_a_obj_movebox.cpp
index 9c2a226f..4f64281d 100644
--- a/src/d/actor/d_a_obj_movebox.cpp
+++ b/src/d/actor/d_a_obj_movebox.cpp
@@ -127,12 +127,12 @@ namespace daObjMovebox {
s32 prm_get_buoy() const { return daObj::PrmAbstract(this, PRM_BUOY_W, PRM_BUOY_S); }
s32 prm_get_dmy() const; // Unused?
- BOOL is_switch1() const { return fopAcM_isSwitch(this, prm_get_swSave1()); };
- BOOL is_switch2() const { return fopAcM_isSwitch(this, prmZ_get_swSave2()); };
- void on_switch1() const { fopAcM_onSwitch(this, prm_get_swSave1()); };
- void on_switch2() const { fopAcM_onSwitch(this, prmZ_get_swSave2()); };
- void off_switch1() const { fopAcM_offSwitch(this, prm_get_swSave1()); };
- void off_switch2() const { fopAcM_offSwitch(this, prmZ_get_swSave2()); };
+ BOOL is_switch1() const { return fopAcM_isSwitch((Act_c*)this, prm_get_swSave1()); };
+ BOOL is_switch2() const { return fopAcM_isSwitch((Act_c*)this, prmZ_get_swSave2()); };
+ void on_switch1() const { fopAcM_onSwitch((Act_c*)this, prm_get_swSave1()); };
+ void on_switch2() const { fopAcM_onSwitch((Act_c*)this, prmZ_get_swSave2()); };
+ void off_switch1() const { fopAcM_offSwitch((Act_c*)this, prm_get_swSave1()); };
+ void off_switch2() const { fopAcM_offSwitch((Act_c*)this, prmZ_get_swSave2()); };
void prmZ_init();
void prmX_init();