summaryrefslogtreecommitdiff
path: root/src/d/msg/d_msg_class.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2024-03-19 04:31:53 -0700
committerGitHub <noreply@github.com>2024-03-19 13:31:53 +0200
commit25d51079a315a7e8e1b745f06ca857b2c48cf532 (patch)
tree70108224ec24446fc9cd44a6cfaed83bdd23c2ab /src/d/msg/d_msg_class.cpp
parent38e0f8927a7f14af61748d0226b4eb89513cb2a9 (diff)
remove "duplicated" inlines (#2099)
* fix f_op_actor_mng inlines * fix f_pc inlines * fix d_a_alink weak func signatures * fix d_com_inf_game inlines * fix some more inlines * fix rest of player inlines * m_Do / JSystem inlines fixed * fix upstream changes
Diffstat (limited to 'src/d/msg/d_msg_class.cpp')
-rw-r--r--src/d/msg/d_msg_class.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/d/msg/d_msg_class.cpp b/src/d/msg/d_msg_class.cpp
index 5ef974714a..88bc23a9ec 100644
--- a/src/d/msg/d_msg_class.cpp
+++ b/src/d/msg/d_msg_class.cpp
@@ -1111,11 +1111,11 @@ void jmessage_tReference::inputNumber() {
s16 new_input_val = input_val;
u8 max_figure = 0;
- if (i_dComIfGs_getRupee() >= 1000) {
+ if (dComIfGs_getRupee() >= 1000) {
max_figure = 3;
- } else if (i_dComIfGs_getRupee() >= 100) {
+ } else if (dComIfGs_getRupee() >= 100) {
max_figure = 2;
- } else if (i_dComIfGs_getRupee() >= 10) {
+ } else if (dComIfGs_getRupee() >= 10) {
max_figure = 1;
}
@@ -1167,8 +1167,8 @@ void jmessage_tReference::inputNumber() {
new_input_val = 0;
}
- if (new_input_val > i_dComIfGs_getRupee()) {
- new_input_val = i_dComIfGs_getRupee();
+ if (new_input_val > dComIfGs_getRupee()) {
+ new_input_val = dComIfGs_getRupee();
}
if (new_input_val != input_val) {
@@ -1864,7 +1864,7 @@ bool jmessage_tMeasureProcessor::do_tag(u32 i_tag, void const* i_data, u32 i_siz
dMsgUnit_setTag(0x10000, dComIfGp_getNeedLightDropNum(), buffer_0);
break;
case 6:
- dMsgUnit_setTag(6, 20 - i_dComIfGs_getEventReg(0xFF1F), buffer_0);
+ dMsgUnit_setTag(6, 20 - dComIfGs_getEventReg(0xFF1F), buffer_0);
break;
case 8:
dMsgUnit_setTag(9, (u32)dComIfGp_getMessageCountNumber(), buffer_0);