X-Git-Url: https://ruin.nu/git/?p=hbs.git;a=blobdiff_plain;f=bs%2Funittype.cpp;fp=bs%2Funittype.cpp;h=836ddb95056f0d79978e78a48d4d5f9735762006;hp=36bd4ed7c333c80bc063a8384980222f06b1a431;hb=20b89dab5346f13dc17b368b92de89eebf00ac11;hpb=c3547560c3885eb7f7b436dd10acc17df71de101 diff --git a/bs/unittype.cpp b/bs/unittype.cpp index 36bd4ed..836ddb9 100644 --- a/bs/unittype.cpp +++ b/bs/unittype.cpp @@ -93,7 +93,7 @@ void UnitType::addTarget(string target) * If it finds the position it inserts the target there, if it reaches the end * before it finds the correct possition it adds the target to the end. */ -void UnitType::insTarget(string target, int index = 0) +void UnitType::insTarget(string target, int index) { vector::iterator i = m_vTarget.begin();