From: fgsfds Date: Sun, 1 Mar 2020 23:52:34 +0000 (+0300) Subject: better set this to -1 X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=b9d9a653db5277b2a7a2682e72a48bf266d50304;p=d2df-sdl.git better set this to -1 --- diff --git a/src/game/g_player.pas b/src/game/g_player.pas index 90588ba..550e694 100644 --- a/src/game/g_player.pas +++ b/src/game/g_player.pas @@ -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