summaryrefslogtreecommitdiff
path: root/src/d/com/d_com_static.cpp
diff options
context:
space:
mode:
authorlepelog <25211966+lepelog@users.noreply.github.com>2022-06-30 23:24:35 +0200
committerlepelog <25211966+lepelog@users.noreply.github.com>2022-07-01 00:12:01 +0200
commite71aa4578de3e44671175786b8dcc44195f39638 (patch)
treef0719247da03b26e03c0e3d89a21ffc6f2454760 /src/d/com/d_com_static.cpp
parent046d178003035ea87d3042a61917c2d482c68c74 (diff)
move inlines
Diffstat (limited to 'src/d/com/d_com_static.cpp')
-rw-r--r--src/d/com/d_com_static.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/d/com/d_com_static.cpp b/src/d/com/d_com_static.cpp
index b9e3166c52..b731220c6d 100644
--- a/src/d/com/d_com_static.cpp
+++ b/src/d/com/d_com_static.cpp
@@ -680,13 +680,9 @@ int daTagMagne_c::checkMagnetCode(cBgS_PolyInfo& poly) {
return 0;
}
-inline bool fopAcM_isSwitch(const fopAc_ac_c* item, int sw) {
- return dComIfGs_isSwitch(sw, fopAcM_GetHomeRoomNo(item));
-}
-
/* 80031BF4-80031C48 02C534 0054+00 1/1 0/0 0/0 .text checkMagneA__12daTagMagne_cFv */
int daTagMagne_c::checkMagneA() {
- if (mSwNo1 == 0xFF || fopAcM_isSwitch(this, mSwNo1)) {
+ if (mSwNo1 == 0xFF || i_fopAcM_isSwitch(this, mSwNo1)) {
return 1;
}
@@ -695,7 +691,7 @@ int daTagMagne_c::checkMagneA() {
/* 80031C48-80031C9C 02C588 0054+00 1/1 0/0 0/0 .text checkMagneB__12daTagMagne_cFv */
int daTagMagne_c::checkMagneB() {
- if (mSwNo2 == 0xFF || fopAcM_isSwitch(this, mSwNo2)) {
+ if (mSwNo2 == 0xFF || i_fopAcM_isSwitch(this, mSwNo2)) {
return 1;
}
@@ -704,7 +700,7 @@ int daTagMagne_c::checkMagneB() {
/* 80031C9C-80031CF0 02C5DC 0054+00 1/1 0/0 0/0 .text checkMagneC__12daTagMagne_cFv */
int daTagMagne_c::checkMagneC() {
- if (mSwNo3 == 0xFF || fopAcM_isSwitch(this, mSwNo3)) {
+ if (mSwNo3 == 0xFF || i_fopAcM_isSwitch(this, mSwNo3)) {
return 1;
}