diff --git a/src/game/g_gui.pas b/src/game/g_gui.pas
index 1516d4452328ad0489451ced4163d0a7bf7463cc..ca49c711d8e7107ecda7cf0784dd8f62cfc7c9de 100644 (file)
--- a/src/game/g_gui.pas
+++ b/src/game/g_gui.pas
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*)
-{$MODE DELPHI}
+{$INCLUDE g_amodes.inc}
unit g_gui;
interface
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);