add a pause/slowdown/play/fastforward button for replays

closes #4633
This commit is contained in:
Matthias Mailänder
2014-03-12 11:51:36 +01:00
parent c5ef9cbfb2
commit 0c20e38443
21 changed files with 482 additions and 282 deletions

View File

@@ -66,9 +66,14 @@ namespace OpenRA
}
}
public bool IsReplay
{
get { return orderManager.Connection is ReplayConnection; }
}
public void SetLocalPlayer(string pr)
{
if (orderManager.Connection is ReplayConnection)
if (IsReplay)
return;
LocalPlayer = Players.FirstOrDefault(p => p.InternalName == pr);