X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_options.pas;h=416f3b3c1411eb514ea33f1228b6845b957ca134;hp=5caaf40f9520fe1659381f53515e480b10f11934;hb=1fce622b701683e52c37f44e82ecd56da6cef7e3;hpb=198c00b7bd28bdbfb4c76646fe352c3bdb87384f diff --git a/src/game/g_options.pas b/src/game/g_options.pas index 5caaf40..416f3b3 100644 --- a/src/game/g_options.pas +++ b/src/game/g_options.pas @@ -19,7 +19,7 @@ unit g_options; interface uses - g_language; + g_language, g_weapons; type TPlayerControl = record @@ -33,7 +33,7 @@ type KeyPrevWeapon: Word; KeyOpen: Word; KeyStrafe: Word; - KeyWeapon: array [0..9] of Word; + KeyWeapon: array [WP_FIRST..WP_LAST] of Word; KeyRight2: Word; KeyLeft2: Word; @@ -45,7 +45,7 @@ type KeyPrevWeapon2: Word; KeyOpen2: Word; KeyStrafe2: Word; - KeyWeapon2: array [0..9] of Word; + KeyWeapon2: array [WP_FIRST..WP_LAST] of Word; end; TGameControls = record