X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_netmsg.pas;h=9563b8083f9fd7d1f7955a35fb0a36a96200cf35;hp=f235035fbda6d740146eb383d07d4e66e740948f;hb=2ce8c39f1c6e2ade354a14bd7fce6be00c8c7b0a;hpb=54f428b595b4d7982f63a2adae9d72291b57784f diff --git a/src/game/g_netmsg.pas b/src/game/g_netmsg.pas index f235035..9563b80 100644 --- a/src/game/g_netmsg.pas +++ b/src/game/g_netmsg.pas @@ -2839,11 +2839,9 @@ begin begin if isKeyPressed(KeyWeapon[I], KeyWeapon2[I]) then begin - //writeln('keyweapon #', i, ' is pressed; released=', Integer(gPlayer1.isWeaponSwitchKeyReleased(i)), '; frm=', gPlayer1.NetForceWeapFIdx, '; gTime=', gTime); gPlayer1.weaponSwitchKeysStateChange(i, true); if gPlayer1.isWeaponSwitchKeyReleased(i) then begin - //writeln('keyweapon #', i, ' is pressed; released=', Integer(gPlayer1.isWeaponSwitchKeyReleased(i)), '; frm=', gPlayer1.NetForceWeapFIdx, '; gTime=', gTime); gPlayer1.QueueWeaponSwitch(i); // all choices are passed there, and god will take the best //WeaponSelect := WeaponSelect or Word(1 shl I); end;