DEADSOFTWARE

better set this to -1
authorfgsfds <pvt.fgsfds@gmail.com>
Sun, 1 Mar 2020 23:52:34 +0000 (02:52 +0300)
committerfgsfds <pvt.fgsfds@gmail.com>
Sun, 1 Mar 2020 23:52:34 +0000 (02:52 +0300)
src/game/g_player.pas

index 90588ba10e31d4be1d60592fad315687274c8aff..550e694b98e59a77936033381571b971ab3b0b9a 100644 (file)
@@ -5974,6 +5974,7 @@ begin
     SavedState.MaxAmmo[i] := FMaxAmmo[i];
   SavedState.Rulez := FRulez - [R_KEY_RED, R_KEY_GREEN, R_KEY_BLUE];
 
+  FSavedStateNum := -1;
   for i := Low(SavedStates) to High(SavedStates) do
     if not SavedStates[i].Used then
     begin