mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 13:53:49 -07:00
Fix issue with simulated input lag (#1535)
This commit is contained in:
parent
936c493b9e
commit
d47746eab1
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ namespace Ship {
|
|||
|
||||
padBuffer.push_front(padToBuffer);
|
||||
if (pad != nullptr) {
|
||||
*pad = padBuffer[std::min(padBuffer.size(), (size_t)CVar_GetS32("gSimulatedInputLag", 0))];
|
||||
*pad = padBuffer[std::min(padBuffer.size() - 1, (size_t)CVar_GetS32("gSimulatedInputLag", 0))];
|
||||
}
|
||||
|
||||
while (padBuffer.size() > 6) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue