summaryrefslogtreecommitdiff
path: root/src/battle_controllers.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-10-15 22:44:01 -0400
committerGitHub <noreply@github.com>2021-10-15 22:44:01 -0400
commita4a3c1c9e5a0026415330eab9bea2f8f3e83e0a3 (patch)
treea4a2a111096ba65ccd8d855b3af936f680f9634f /src/battle_controllers.c
parent187f10be9d8a08e348a7cfee1d5b0d8fee861859 (diff)
parent3a7995bc7ce8fda6a763ab14f96a2011f735def6 (diff)
Merge pull request #1511 from GriffinRichards/doc-union
Document link_rfu / Union Room
Diffstat (limited to 'src/battle_controllers.c')
-rw-r--r--src/battle_controllers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_controllers.c b/src/battle_controllers.c
index 0f3234579..0a8ecac02 100644
--- a/src/battle_controllers.c
+++ b/src/battle_controllers.c
@@ -789,7 +789,7 @@ static void Task_HandleSendLinkBuffersData(u8 taskId)
gTasks[taskId].data[15] = 0;
}
blockSize = (gLinkBattleSendBuffer[gTasks[taskId].data[15] + LINK_BUFF_SIZE_LO] | (gLinkBattleSendBuffer[gTasks[taskId].data[15] + LINK_BUFF_SIZE_HI] << 8)) + LINK_BUFF_DATA;
- SendBlock(bitmask_all_link_players_but_self(), &gLinkBattleSendBuffer[gTasks[taskId].data[15]], blockSize);
+ SendBlock(BitmaskAllOtherLinkPlayers(), &gLinkBattleSendBuffer[gTasks[taskId].data[15]], blockSize);
gTasks[taskId].data[11]++;
}
else