Switched "getDelta()" to "getDeltaMs()" since it is more appropriate.
@@ -127,7 +127,7 @@ public void onPlayerInput(CharacterMoveInputEvent input, EntityRef entity) {
}
CircularBuffer<CharacterStateEvent> stateBuffer = characterStates.get(entity);
CharacterStateEvent lastState = stateBuffer.getLast();
- float delta = input.getDelta() + lastState.getTime() - (time.getGameTimeInMs() + MAX_INPUT_OVERFLOW );
+ float delta = input.getDeltaMs() + lastState.getTime() - (time.getGameTimeInMs() + MAX_INPUT_OVERFLOW );
if (RecordAndReplayStatus.getCurrentStatus() == RecordAndReplayStatus.REPLAYING) {
delta -= MAX_INPUT_OVERFLOW_REPLAY_INCREASE;
}
