Missing 3 Keys in....

this commit
0b3db6a071
This commit is contained in:
Skaronator
2013-11-16 18:39:04 +01:00
parent c0d316170e
commit 82a33ba13e

View File

@@ -3,7 +3,7 @@ _dikCode = _this select 1;
_handled = false;
if (_dikCode in[0x58,0x57,0x44,0x43,0x42,0x41,0x40,0x3F,0x3E,0x3D,0x3C,0x3B,0x0B,0x0A,0x09,0x08,0x07,0x06,0x05]) then {
if (_dikCode in[0x02,0x03,0x04,0x58,0x57,0x44,0x43,0x42,0x41,0x40,0x3F,0x3E,0x3D,0x3C,0x3B,0x0B,0x0A,0x09,0x08,0x07,0x06,0x05]) then {
_handled = true;
};
@@ -74,7 +74,10 @@ _ctrl = _this select 3;
_alt = _this select 4;
//diag_log format["Keypress: %1", _this];
if ((_dikCode in actionKeys "Gear") and (vehicle player != player) and !_shift and !_ctrl and !_alt && !dialog) then {
createGearDialog [player, "RscDisplayGear"];
_handled = true;
};
if (_dikCode in (actionKeys "GetOver")) then {