add calls to macros to get coordinates (compatibility with booz)

This commit is contained in:
Pascal Brisset
2009-09-18 13:43:22 +00:00
parent 130785fa78
commit a8ded66caf
+2 -2
View File
@@ -2,11 +2,11 @@
<procedure>
<exceptions>
<exception cond="Or(! InsideGreen(estimator_x, estimator_y), estimator_z > ground_alt + 150)" deroute="Center"/>
<exception cond="Or(! InsideGreen(GetPosX(), GetPosY()), GetPosAlt() > ground_alt + 150)" deroute="Center"/>
</exceptions>
<blocks>
<block name="Center" pre_call="if (And(!kill_throttle, !InsideRed(estimator_x, estimator_y))) kill_throttle=TRUE;">
<block name="Center" pre_call="if (!InsideRed(GetPosX(), GetPosY())) NavKillThrottle();">
<circle wp="_CENTER" radius="DEFAULT_CIRCLE_RADIUS"/>
</block>
</blocks>