mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-28 06:57:02 -04:00
account for custom flow indices in getInitNodeIndex
This commit is contained in:
@@ -407,6 +407,12 @@ u8* dMsgFlow_c::getMsgDataBlock(char const* block_tag) {
|
||||
}
|
||||
|
||||
u16 dMsgFlow_c::getInitNodeIndex(u16 param_1) {
|
||||
#if TARGET_PC
|
||||
// If we have a custom flow index, just return it directly
|
||||
if (param_1 >= BASE_CUSTOM_MSG_AND_FLOW_ID) {
|
||||
return param_1;
|
||||
}
|
||||
#endif
|
||||
u8* var_r30 = NULL;
|
||||
u16 var_r27 = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user