summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Plane.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-01-23 16:43:19 +0100
committerSergeanur <s.anureev@yandex.ua>2020-01-23 16:43:19 +0100
commit18f80a02fcb35e42874ebdd91eea3286120c8afc (patch)
tree85acc3e425e4473de80b7263eb92699be5412b26 /src/vehicles/Plane.cpp
parentPlane crashfix and more (diff)
downloadre3-18f80a02fcb35e42874ebdd91eea3286120c8afc.tar
re3-18f80a02fcb35e42874ebdd91eea3286120c8afc.tar.gz
re3-18f80a02fcb35e42874ebdd91eea3286120c8afc.tar.bz2
re3-18f80a02fcb35e42874ebdd91eea3286120c8afc.tar.lz
re3-18f80a02fcb35e42874ebdd91eea3286120c8afc.tar.xz
re3-18f80a02fcb35e42874ebdd91eea3286120c8afc.tar.zst
re3-18f80a02fcb35e42874ebdd91eea3286120c8afc.zip
Diffstat (limited to 'src/vehicles/Plane.cpp')
-rw-r--r--src/vehicles/Plane.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Plane.cpp b/src/vehicles/Plane.cpp
index cfe33556..b4d80581 100644
--- a/src/vehicles/Plane.cpp
+++ b/src/vehicles/Plane.cpp
@@ -958,8 +958,8 @@ CPlane::CreateDropOffCesna(void)
printf("CPlane::CreateDropOffCesna(void)\n");
}
-CVector CPlane::FindDrugPlaneCoordinates(void) { return pDrugRunCesna->GetPosition(); }
-CVector CPlane::FindDropOffCesnaCoordinates(void) { return pDropOffCesna->GetPosition(); }
+const CVector CPlane::FindDrugPlaneCoordinates(void) { return pDrugRunCesna->GetPosition(); }
+const CVector CPlane::FindDropOffCesnaCoordinates(void) { return pDropOffCesna->GetPosition(); }
bool CPlane::HasCesnaLanded(void) { return CesnaMissionStatus == CESNA_STATUS_LANDED; }
bool CPlane::HasCesnaBeenDestroyed(void) { return CesnaMissionStatus == CESNA_STATUS_DESTROYED; }
bool CPlane::HasDropOffCesnaBeenShotDown(void) { return DropOffCesnaMissionStatus == CESNA_STATUS_DESTROYED; }