Need to explicitly return values to silence warnings.

This was SVN commit r12675.
This commit is contained in:
Deiz 2012-09-14 20:55:49 +00:00
parent 27c390cdf2
commit c4c65c02ac

View File

@ -1120,7 +1120,7 @@ var UnitFsmSpec = {
{
// Let the Timer logic handle this
this.StartTimer(0);
return;
return false;
}
// No rate, give up on gathering
@ -1144,6 +1144,7 @@ var UnitFsmSpec = {
var typename = "gather_" + this.order.data.type.specific;
this.SelectAnimation(typename, false, 1.0, typename);
}
return false;
},
"leave": function() {
@ -1532,6 +1533,7 @@ var UnitFsmSpec = {
this.SelectAnimation("build", false, 1.0, "build");
this.StartTimer(1000, 1000);
return false;
},
"leave": function() {
@ -1662,7 +1664,7 @@ var UnitFsmSpec = {
cmpResourceGatherer.CommitResources(dropsiteTypes);
}
return;
return false;
}
}
else
@ -1672,7 +1674,7 @@ var UnitFsmSpec = {
if (this.MoveToTarget(target))
{
this.SetNextState("APPROACHING");
return;
return false;
}
}
}