1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 18:25:16 +01:00

Add preprocessor directives to stop unused variable/function warnings. (#14422)

This commit is contained in:
A.N
2021-04-02 15:41:11 +03:00
committed by GitHub
parent b65f12f1cf
commit 4d3328c7bb
2 changed files with 4 additions and 2 deletions

View File

@@ -42,12 +42,12 @@
static Peep* _pickup_peep = nullptr;
static int32_t _pickup_peep_old_x = LOCATION_NULL;
#ifndef DISABLE_NETWORK
// General chunk size is 63 KiB, this can not be any larger because the packet size is encoded
// with uint16_t and needs some spare room for other data in the packet.
static constexpr uint32_t CHUNK_SIZE = 1024 * 63;
#ifndef DISABLE_NETWORK
# include "../Cheats.h"
# include "../ParkImporter.h"
# include "../Version.h"