Fixed a nasty typo

This commit is contained in:
ulteq 2015-04-10 16:48:58 +02:00
parent 013c56f070
commit 37804f01f6

View File

@ -1,22 +1,22 @@
#include "script_component.hpp"
if (!isNil ("GVAR(windSpeed)")) then
if (!isNil QUOTE(GVAR(windSpeed))) then
{
ctrlSetText [300, Str(Round((GVAR(windSpeed) select GVAR(currentTarget)) * 100) / 100)];
};
if (!isNil ("GVAR(windDirection)")) then
if (!isNil QUOTE(GVAR(windDirection))) then
{
ctrlSetText [310, Str(Round((GVAR(windDirection) select GVAR(currentTarget))))];
};
if (!isNil ("GVAR(inclinationAngle)")) then
if (!isNil QUOTE(GVAR(inclinationAngle))) then
{
ctrlSetText [320, Str(Round((GVAR(inclinationAngle) select GVAR(currentTarget))))];
};
if (!isNil ("GVAR(targetSpeed)")) then
if (!isNil QUOTE(GVAR(targetSpeed))) then
{
ctrlSetText [330, Str(Round((GVAR(targetSpeed) select GVAR(currentTarget)) * 100) / 100)];
};
if (!isNil ("GVAR(targetRange)")) then
if (!isNil QUOTE(GVAR(targetRange))) then
{
ctrlSetText [340, Str(Round((GVAR(targetRange) select GVAR(currentTarget))))];
};