mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_Scripting: update locations_are_same to same_latlon_as
This commit is contained in:
parent
d8990a002e
commit
ad75b1e56f
@ -287,7 +287,7 @@ static int location_equal(lua_State *L) {
|
||||
Location *l2 = check_location(L, -2);
|
||||
Location *l1 = check_location(L, -1);
|
||||
|
||||
lua_pushboolean(L, locations_are_same(*l1, *l2));
|
||||
lua_pushboolean(L, l1->same_latlon_as(*l2));
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user