Wrong branch index!

This commit is contained in:
Gregor Richards 2017-11-05 22:45:53 -05:00
parent 73bd969ac9
commit 84baf5db1f

View File

@ -226,7 +226,7 @@ static bool send_input_frame(netplay_t *netplay, struct delta_frame *dframe,
/* Add the device data */
devices = netplay->client_devices[client_num];
for (device = 0; device < devices; device++)
for (device = 0; device < MAX_INPUT_DEVICES; device++)
{
netplay_input_state_t istate;
if (!(devices & (1<<device)))