diff options
| author | Max Roncace <me@caseif.net> | 2025-06-03 16:31:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-03 23:31:22 +0300 |
| commit | 12ee8c9fb7579b464f32cbea850c1470179ab551 (patch) | |
| tree | c909a2c870a85742a37acbb1b1482d99975d0a5d /src/d/d_save.cpp | |
| parent | 5272152efafaa270b7ca093936ae0eb345d53275 (diff) | |
d_a_npc_henna equivalent (#2473)
Diffstat (limited to 'src/d/d_save.cpp')
| -rw-r--r-- | src/d/d_save.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_save.cpp b/src/d/d_save.cpp index 8d7b20405c..a76a698202 100644 --- a/src/d/d_save.cpp +++ b/src/d/d_save.cpp @@ -1310,13 +1310,13 @@ void dSv_event_c::offEventBit(u16 i_no) { /* 800349BC-800349E0 02F2FC 0024+00 3/3 77/77 153/153 .text isEventBit__11dSv_event_cCFUs */ -BOOL dSv_event_c::isEventBit(u16 i_no) const { +BOOL dSv_event_c::isEventBit(const u16 i_no) const { return mEvent[i_no >> 8] & (i_no & 0xFF) ? TRUE : FALSE; } /* 800349E0-80034A04 02F320 0024+00 0/0 12/12 17/17 .text setEventReg__11dSv_event_cFUsUc */ -void dSv_event_c::setEventReg(u16 i_reg, u8 i_no) { +void dSv_event_c::setEventReg(const u16 i_reg, u8 i_no) { mEvent[i_reg >> 8] &= ~(u8)i_reg; mEvent[i_reg >> 8] |= i_no; } |
