X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_game.pas;h=b3c00635e29cf462295f45fcda3138c89d2f9414;hp=114c692242e50d3b5213bb7639579c7d324540ff;hb=b7c26c7f1787937245991190591ef4a6ee4d152e;hpb=793c463d8e71d5b31b0f99d050bd77870a7a9f2a diff --git a/src/game/g_game.pas b/src/game/g_game.pas index 114c692..b3c0063 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -1562,6 +1562,9 @@ begin if gPlayerAction[p, ACTION_WEAPPREV] then plr.PressKey(KEY_PREVWEAPON); if gPlayerAction[p, ACTION_ACTIVATE] then plr.PressKey(KEY_OPEN); + gPlayerAction[p, ACTION_WEAPNEXT] := False; // HACK, remove after readyweaon&pendinweapon implementation + gPlayerAction[p, ACTION_WEAPPREV] := False; // HACK, remove after readyweaon&pendinweapon implementation + for i := WP_FIRST to WP_LAST do begin if gSelectWeapon[p, i] then