Fix obs:gotolonglat (distance parameter work)
parent
dd37f1812a
commit
90f4b6bfbd
|
@ -360,7 +360,7 @@ static int observer_gotolonglat(lua_State* l)
|
|||
double distance = celx.safeGetNumber(5, WrongType, "Fourth arg to observer:gotolonglat must be a number", defaultDistance);
|
||||
double travelTime = celx.safeGetNumber(6, WrongType, "Fifth arg to observer:gotolonglat must be a number", 5.0);
|
||||
|
||||
distance = distance / KM_PER_LY;
|
||||
//distance = distance / KM_PER_LY;
|
||||
|
||||
Vector3f up = Vector3f::UnitY();
|
||||
if (lua_gettop(l) >= 7)
|
||||
|
|
Loading…
Reference in New Issue