summaryrefslogtreecommitdiff
path: root/src/battle_controllers.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-10-15 22:44:49 -0400
committerGitHub <noreply@github.com>2021-10-15 22:44:49 -0400
commit1f39c34ca47e43b0afccaabe97d1df19e3f0b39b (patch)
treec3d4cac1627512d166440ead47d9f2285c8b4044 /src/battle_controllers.c
parentb01213b8bc0e4f82a0ab7505b4fe7db2e2d0ddf2 (diff)
parenta4a3c1c9e5a0026415330eab9bea2f8f3e83e0a3 (diff)
Merge branch 'master' into minor-constants
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