diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-11 00:51:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-11 00:51:25 +0200 |
commit | 0408b30a9ffba583f0437c294a98a2cecef74e1d (patch) | |
tree | 5fc346badb4cac417ea73b457831c3de89bc450f /src/control/CarGen.h | |
parent | Single-wagon train fix (diff) | |
parent | Fix CCarGenerator Load/Save (diff) | |
download | re3-0408b30a9ffba583f0437c294a98a2cecef74e1d.tar re3-0408b30a9ffba583f0437c294a98a2cecef74e1d.tar.gz re3-0408b30a9ffba583f0437c294a98a2cecef74e1d.tar.bz2 re3-0408b30a9ffba583f0437c294a98a2cecef74e1d.tar.lz re3-0408b30a9ffba583f0437c294a98a2cecef74e1d.tar.xz re3-0408b30a9ffba583f0437c294a98a2cecef74e1d.tar.zst re3-0408b30a9ffba583f0437c294a98a2cecef74e1d.zip |
Diffstat (limited to 'src/control/CarGen.h')
-rw-r--r-- | src/control/CarGen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/CarGen.h b/src/control/CarGen.h index c1ca304c..75acdd56 100644 --- a/src/control/CarGen.h +++ b/src/control/CarGen.h @@ -34,8 +34,8 @@ public: void Setup(float x, float y, float z, float angle, int32 mi, int16 color1, int16 color2, uint8 force, uint8 alarm, uint8 lock, uint16 min_delay, uint16 max_delay); bool CheckForBlockage(); bool CheckIfWithinRangeOfAnyPlayer(); - void Save(uint8*); - void Load(uint8*); + void Save(uint8*&); + void Load(uint8*&); void SetUsesRemaining(uint16 uses) { m_nUsesRemaining = uses; } }; |