diff options
Diffstat (limited to 'include/d/actor')
| -rw-r--r-- | include/d/actor/d_a_obj_mirror_6pole.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/include/d/actor/d_a_obj_mirror_6pole.h b/include/d/actor/d_a_obj_mirror_6pole.h index b02aa94e20..59d106e582 100644 --- a/include/d/actor/d_a_obj_mirror_6pole.h +++ b/include/d/actor/d_a_obj_mirror_6pole.h @@ -50,18 +50,11 @@ public: dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[354]); } - void setAction(Mode_e i_action) { - mMode = i_action; - mAction = ActionTable[mMode]; + inline void setAction(Mode_e i_action); + inline void callInit(); + inline void callExecute(); - callInit(); - } - - void callInit() { (this->*mAction[0])(); } - - void callExecute() { (this->*mAction[1])(); } - - static actionFunc ActionTable[][2]; + static const actionFunc ActionTable[][2]; private: /* 0x568 */ J3DModel* mpModel; |
