Input fast-forward/catchup when standing still for 15 frames

Also made position correction work based on linear velocity so running doesn't make you twitch nearly as much.
This commit is contained in:
juanjp600
2016-11-06 13:43:53 -03:00
parent fae2dc2536
commit 160eff85d0
3 changed files with 72 additions and 11 deletions

View File

@@ -95,8 +95,8 @@ namespace Barotrauma
endMessage = traitorCharacter.Name + " was a traitor! ";
endMessage += (traitorCharacter.Info.Gender == Gender.Male) ? "His" : "Her";
endMessage += " task was to assassinate " + targetCharacter.Name + ". ";
endMessage += (Submarine.MainSub.AtEndPosition) ?
"The task was unsuccessful - the has submarine reached its destination." :
endMessage += (Submarine.MainSub.AtEndPosition) ?
"The task was unsuccessful - the submarine has reached its destination." :
"The task was unsuccessful.";
}