Cleaned up Packet checking in ReplaySender

Removed broken Time Keyframe functionality to create a stable build
This commit is contained in:
Marius Metzger
2015-01-09 21:33:33 +01:00
parent f9ce92dc98
commit 25c4f85a4c
4 changed files with 36 additions and 74 deletions

View File

@@ -48,11 +48,13 @@ public class ReplayProcess {
ReplayHandler.sortKeyframes();
ReplayHandler.setReplaying(true);
previousReplaySpeed = ReplayHandler.getSpeed();
/*
TimeKeyframe tf = ReplayHandler.getNextTimeKeyframe(-1);
if(tf != null) {
int ts = tf.getTimestamp();
ReplayHandler.setReplayPos(ts, true);
ReplayHandler.setReplayPos(ts);
}
*/
ChatMessageRequests.addChatMessage("Replay started!", ChatMessageType.INFORMATION);
}
@@ -66,6 +68,7 @@ public class ReplayProcess {
public static void tickReplay() {
if(!ReplayHandler.isReplaying()) return;
if(ReplayHandler.isHurrying()) {
lastRealTime = System.currentTimeMillis();
System.out.println("rethurrn");