summaryrefslogtreecommitdiff
path: root/src/control/Pickups.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-08 23:07:11 +0300
committerSergeanur <s.anureev@yandex.ua>2019-10-08 23:07:11 +0300
commit101192dd322197d1f9e4aa4e48e38b43e05cd72b (patch)
treeae00316a66f04bd5459dcd8b7b325fb819c7ba06 /src/control/Pickups.h
parent69963cea68b3057c0e590e30ee438dff801a4d07 (diff)
Added read/write template functions for save data, small Load/Save arguments unification
Diffstat (limited to 'src/control/Pickups.h')
-rw-r--r--src/control/Pickups.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Pickups.h b/src/control/Pickups.h
index b49a5544..cbf3f245 100644
--- a/src/control/Pickups.h
+++ b/src/control/Pickups.h
@@ -86,8 +86,8 @@ public:
static int32 GetNewUniquePickupIndex(int32 slot);
static void PassTime(uint32 time);
static bool GivePlayerGoodiesWithPickUpMI(int16 modelIndex, int playerIndex);
- static void Load(uint8 *buffer, uint32 size);
- static void Save(uint8 *buffer, uint32 *size);
+ static void Load(uint8 *buf, uint32 size);
+ static void Save(uint8 *buf, uint32 *size);
static CPickup(&aPickUps)[NUMPICKUPS];