Fix a copy-paste-bug in a Nasal error
This commit is contained in:
parent
26b9cce6a3
commit
68a72f22f2
1 changed files with 1 additions and 1 deletions
|
@ -2942,7 +2942,7 @@ static naRef f_flightplan_pathGeod(naContext c, naRef me, int argc, naRef* args)
|
||||||
{
|
{
|
||||||
FlightPlan* fp = flightplanGhost(me);
|
FlightPlan* fp = flightplanGhost(me);
|
||||||
if (!fp) {
|
if (!fp) {
|
||||||
naRuntimeError(c, "flightplan.clone called on non-flightplan object");
|
naRuntimeError(c, "flightplan.pathGeod called on non-flightplan object");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((argc < 1) || !naIsNum(args[0])) {
|
if ((argc < 1) || !naIsNum(args[0])) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue