Fix bug with demos and saves after restoring round from save
authorunc0rr
Wed, 07 May 2008 14:59:59 +0000
changeset 909 122c1b57bbf3
parent 908 9b79dd99cde1
child 910 8d5f3fef4ac2
Fix bug with demos and saves after restoring round from save
hedgewars/uGame.pas
--- a/hedgewars/uGame.pas	Wed May 07 14:41:34 2008 +0000
+++ b/hedgewars/uGame.pas	Wed May 07 14:59:59 2008 +0000
@@ -68,7 +68,7 @@
                gmtSave: begin
                         RestoreTeamsFromSave;
                         SetBinds(CurrentTeam^.Binds);
-                        CurrentHedgehog^.Gear^.Message:= 0;
+                        //CurrentHedgehog^.Gear^.Message:= 0; <- produces bugs with further save restoring and demos
                         isSoundEnabled:= isSEBackup;
                         GameType:= gmtLocal
                         end;