diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-02 18:02:17 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-02 18:02:17 +0300 |
commit | f372ce156d76350ef4705ecbf488b43484878ca2 (patch) | |
tree | edf87ceceb886b0f8fa9e57a6b357d0f2d670aed /src/control/AutoPilot.h | |
parent | 5a916c16b7e749136d4ae856cd277cd30d6fba4a (diff) |
changed saving compatibility
Diffstat (limited to 'src/control/AutoPilot.h')
-rw-r--r-- | src/control/AutoPilot.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/control/AutoPilot.h b/src/control/AutoPilot.h index e1066071..4c356f96 100644 --- a/src/control/AutoPilot.h +++ b/src/control/AutoPilot.h @@ -120,5 +120,10 @@ public: void ModifySpeed(float); void RemoveOnePathNode(); +#ifdef COMPATIBLE_SAVES + void Save(uint8*& buf); + void Load(uint8*& buf); +#endif + }; static_assert(sizeof(CAutoPilot) == 0x70, "CAutoPilot: error"); |