mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-03 08:23:08 -04:00
change name of default entry
This commit is contained in:
@@ -43,7 +43,7 @@ public:
|
||||
|
||||
#if TARGET_PC
|
||||
// Default attributes for custom text ids
|
||||
static JMSMesgEntry_c defaultEntry{
|
||||
static JMSMesgEntry_c defaultJMSMesgEntry{
|
||||
.string_offset = 0,
|
||||
.message_id = 0,
|
||||
.event_label_id = 0,
|
||||
|
||||
@@ -72,8 +72,8 @@ JMSMesgEntry_c& JMSMesgInfo_c::getEntry(u16 index) {
|
||||
}
|
||||
|
||||
// If we didn't specify attributes for the custom index, use the default
|
||||
defaultEntry.message_id = index;
|
||||
return defaultEntry;
|
||||
defaultJMSMesgEntry.message_id = index;
|
||||
return defaultJMSMesgEntry;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -93,8 +93,8 @@ bool HandleCustomText(JMessage::TControl* control, u16 msgId) {
|
||||
control->pEntry_ = reinterpret_cast<void*>(&attributeOverrides[key]);
|
||||
// Otherwise, use the default entry
|
||||
} else {
|
||||
defaultEntry.message_id = msgId;
|
||||
control->pEntry_ = &defaultEntry;
|
||||
defaultJMSMesgEntry.message_id = msgId;
|
||||
control->pEntry_ = &defaultJMSMesgEntry;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user