Blood: poll player input at least once to prevent skips

Fixes #329
This commit is contained in:
nukeykt 2020-04-16 16:23:50 +09:00 committed by Christoph Oelckers
parent c000e2e3b3
commit 96c9ca657e

View file

@ -734,6 +734,7 @@ void netGetInput(void)
for (int p = connecthead; p >= 0; p = connectpoint2[p]) for (int p = connecthead; p >= 0; p = connectpoint2[p])
if (gNetFifoHead[myconnectindex]-200 > gNetFifoHead[p]) if (gNetFifoHead[myconnectindex]-200 > gNetFifoHead[p])
return; return;
ctrlGetInput();
GINPUT &input = gFifoInput[gNetFifoHead[myconnectindex]&255][myconnectindex]; GINPUT &input = gFifoInput[gNetFifoHead[myconnectindex]&255][myconnectindex];
input = gInput; input = gInput;
gInput = {}; gInput = {};