1
1
Fork 0
forked from suyu/suyu

Fix node id index in DropVoices

This commit is contained in:
Kelebek1 2023-08-28 10:35:30 +01:00
parent bc4ad5e62d
commit 1d201c71dc

View file

@ -778,7 +778,7 @@ u32 System::DropVoices(CommandBuffer& command_buffer, u32 estimated_process_time
while (i < command_buffer.count) {
const auto node_id{cmd->node_id};
const auto node_id_type{cmd->node_id >> 28};
const auto node_id_base{cmd->node_id & 0xFFF};
const auto node_id_base{(cmd->node_id >> 16) & 0xFFF};
// If the new estimated process time falls below the limit, we're done dropping.
if (estimated_process_time <= time_limit) {