diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-01-23 16:43:19 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-01-23 16:43:19 +0100 |
commit | 18f80a02fcb35e42874ebdd91eea3286120c8afc (patch) | |
tree | 85acc3e425e4473de80b7263eb92699be5412b26 /src/vehicles/Plane.cpp | |
parent | Plane crashfix and more (diff) | |
download | re3-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.cpp | 4 |
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; } |