summaryrefslogtreecommitdiffstats
path: root/src/control/CarGen.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-10 16:18:19 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-10 16:18:19 +0200
commitaa173a454ceaa32b2bc752fa3648f06e64b90064 (patch)
tree2bb65f79dbb5cbe1c5c570ced31304ccad7b2bf6 /src/control/CarGen.h
parentAdded read/write template functions for save data, small Load/Save arguments unification (diff)
downloadre3-aa173a454ceaa32b2bc752fa3648f06e64b90064.tar
re3-aa173a454ceaa32b2bc752fa3648f06e64b90064.tar.gz
re3-aa173a454ceaa32b2bc752fa3648f06e64b90064.tar.bz2
re3-aa173a454ceaa32b2bc752fa3648f06e64b90064.tar.lz
re3-aa173a454ceaa32b2bc752fa3648f06e64b90064.tar.xz
re3-aa173a454ceaa32b2bc752fa3648f06e64b90064.tar.zst
re3-aa173a454ceaa32b2bc752fa3648f06e64b90064.zip
Diffstat (limited to 'src/control/CarGen.h')
-rw-r--r--src/control/CarGen.h4
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; }
};