diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-04-30 15:23:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-30 15:23:46 +0200 |
commit | 9b97d63f8f939dbc431cc2dcd9eddf959f86603a (patch) | |
tree | 98aada7aa4e7fc57e0fb0bf9a1bc84e996f483b1 /src/Simulator/DelayedFluidSimulator.h | |
parent | Fix: GetPhysicalRamUsage on FreeBSD (UNIX) - webadmin display (#5213) (diff) | |
download | cuberite-9b97d63f8f939dbc431cc2dcd9eddf959f86603a.tar cuberite-9b97d63f8f939dbc431cc2dcd9eddf959f86603a.tar.gz cuberite-9b97d63f8f939dbc431cc2dcd9eddf959f86603a.tar.bz2 cuberite-9b97d63f8f939dbc431cc2dcd9eddf959f86603a.tar.lz cuberite-9b97d63f8f939dbc431cc2dcd9eddf959f86603a.tar.xz cuberite-9b97d63f8f939dbc431cc2dcd9eddf959f86603a.tar.zst cuberite-9b97d63f8f939dbc431cc2dcd9eddf959f86603a.zip |
Diffstat (limited to 'src/Simulator/DelayedFluidSimulator.h')
-rw-r--r-- | src/Simulator/DelayedFluidSimulator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Simulator/DelayedFluidSimulator.h b/src/Simulator/DelayedFluidSimulator.h index 1a9f42a65..826489849 100644 --- a/src/Simulator/DelayedFluidSimulator.h +++ b/src/Simulator/DelayedFluidSimulator.h @@ -29,9 +29,9 @@ public: bool Add(int a_RelX, int a_RelY, int a_RelZ); /** Array of block containers, each item stores blocks for one Z coord - Int param is the block index (for faster duplicate comparison in Add()) + size_t param is the block index (for faster duplicate comparison in Add()) */ - cCoordWithIntVector m_Blocks[16]; + std::vector<cCoordWithData<size_t>> m_Blocks[16]; } ; cDelayedFluidSimulatorChunkData(int a_TickDelay); |