From ec26be1fb23a4f5b6b933dff8b4fdbd155d8bcd0 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Fri, 29 Jul 2016 23:36:16 +0300 Subject: [PATCH] Move alias at the end of the registration. To avoid issues when working multi-select and expecting values to match the order of the macros. --- source/Constants.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Constants.cpp b/source/Constants.cpp index c93642ba..3bf4b14e 100644 --- a/source/Constants.cpp +++ b/source/Constants.cpp @@ -391,7 +391,6 @@ static const EnumElement g_WeaponEnum[] = { {_SC("Teargas"), SQMOD_WEAPON_TEARGAS}, {_SC("Molotov"), SQMOD_WEAPON_MOLOTOV}, {_SC("Rocket"), SQMOD_WEAPON_ROCKET}, - {_SC("Missile"), SQMOD_WEAPON_ROCKET}, {_SC("Colt45"), SQMOD_WEAPON_COLT45}, {_SC("Python"), SQMOD_WEAPON_PYTHON}, {_SC("Shotgun"), SQMOD_WEAPON_SHOTGUN}, @@ -422,6 +421,7 @@ static const EnumElement g_WeaponEnum[] = { {_SC("HeliBlades2"), SQMOD_WEAPON_HELIBLADES2}, {_SC("Suicide"), SQMOD_WEAPON_SUICIDE}, {_SC("Launcher"), SQMOD_WEAPON_ROCKETLAUNCHER}, + {_SC("Missile"), SQMOD_WEAPON_ROCKET}, {_SC("Max"), SQMOD_WEAPON_MAX} };