]> ruin.nu Git - hbs.git/blobdiff - bs/unittype.cpp
now compiles with gcc 3.1, might not work with gcc 3.0 though (not sure)
[hbs.git] / bs / unittype.cpp
index 36bd4ed7c333c80bc063a8384980222f06b1a431..836ddb95056f0d79978e78a48d4d5f9735762006 100644 (file)
@@ -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<string>::iterator i = m_vTarget.begin();