X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_gui.pas;h=c276cfd1a7c271de1afd66938ee564d2e8e1ef1e;hp=1516d4452328ad0489451ced4163d0a7bf7463cc;hb=ba177dd9743397cb43dad787fbe7748c8ea51cba;hpb=84a25340ac602b712defba27d7e8a421a211914c diff --git a/src/game/g_gui.pas b/src/game/g_gui.pas index 1516d44..c276cfd 100644 --- a/src/game/g_gui.pas +++ b/src/game/g_gui.pas @@ -2640,7 +2640,7 @@ begin if FModel = nil then Exit; - if FModel.Weapon < WEAPON_SUPERPULEMET then + if FModel.Weapon < WP_LAST then FModel.SetWeapon(FModel.Weapon+1) else FModel.SetWeapon(WEAPON_KASTET);