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-861f7616d084master
parent
411d327a22
commit
9799fb87c7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue