diff --git a/src/game/g_options.pas b/src/game/g_options.pas
index 574a28beeaae652ca11f4076aa674d2de57585c4..fab30284a197d776eb4908364ff89ea9e618631c 100644 (file)
--- a/src/game/g_options.pas
+++ b/src/game/g_options.pas
gDrawBackGround := True;
gShowMessages := True;
gRevertPlayers := False;
-
+
for i := 0 to e_MaxJoys-1 do
e_JoystickDeadzones[i] := 8192;
if (Team < TEAM_RED) or (Team > TEAM_BLUE) then
Team := TEAM_RED;
end;
-
+
for i := 0 to e_MaxJoys-1 do
e_JoystickDeadzones[i] := config.ReadInt('Joysticks', 'Deadzone' + IntToStr(i), 8192);
WriteInt('Player2', 'blue', Color.B);
WriteInt('Player2', 'team', Team);
end;
-
+
for i := 0 to e_MaxJoys-1 do
config.WriteInt('Joysticks', 'Deadzone' + IntToStr(i), e_JoystickDeadzones[i]);