Add "ALL ROUNDER" as an alias for the "ANTI AIRCRAFT" weapon type. Should save future modders a bit of confusion over why cannons and rails are anti-aircraft weapons. ;)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9312 4a71c877-e1ca-e34f-864e-861f7616d084
master
Guangcong Luo 2010-01-18 02:13:36 +00:00 committed by Git SVN Gateway
parent 411d327a22
commit 9799fb87c7
1 changed files with 1 additions and 1 deletions

View File

@ -2813,7 +2813,7 @@ bool getWeaponEffect(const char* weaponEffect, WEAPON_EFFECT* effect)
{
*effect = WE_FLAMER;
}
else if (strcmp(weaponEffect, "ANTI AIRCRAFT") == 0)
else if (strcmp(weaponEffect, "ANTI AIRCRAFT") == 0 || strcmp(weaponEffect, "ALL ROUNDER") == 0)
{
*effect = WE_ANTI_AIRCRAFT;
}