diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-14 13:29:39 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-14 13:29:39 +0100 |
commit | 504803cb6dbeebcaec969dae9d71f7e78e7bd725 (patch) | |
tree | 4aa4934581d0c8427ebeb4247f6bce7aabd4a9d3 /source/cFireSimulator.h | |
parent | Fixed a (pretty big) memory leak in cSandSimulator (diff) | |
download | cuberite-504803cb6dbeebcaec969dae9d71f7e78e7bd725.tar cuberite-504803cb6dbeebcaec969dae9d71f7e78e7bd725.tar.gz cuberite-504803cb6dbeebcaec969dae9d71f7e78e7bd725.tar.bz2 cuberite-504803cb6dbeebcaec969dae9d71f7e78e7bd725.tar.lz cuberite-504803cb6dbeebcaec969dae9d71f7e78e7bd725.tar.xz cuberite-504803cb6dbeebcaec969dae9d71f7e78e7bd725.tar.zst cuberite-504803cb6dbeebcaec969dae9d71f7e78e7bd725.zip |
Diffstat (limited to 'source/cFireSimulator.h')
-rw-r--r-- | source/cFireSimulator.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/cFireSimulator.h b/source/cFireSimulator.h index fba71fece..ef2da6756 100644 --- a/source/cFireSimulator.h +++ b/source/cFireSimulator.h @@ -25,8 +25,9 @@ protected: virtual bool BurnBlockAround(int a_X, int a_Y, int a_Z);
virtual bool BurnBlock(int a_X, int a_Y, int a_Z);
- std::vector <Vector3i *> *m_Blocks;
- std::vector <Vector3i *> *m_Buffer;
+ typedef std::vector <Vector3i> BlockList;
+ BlockList *m_Blocks;
+ BlockList *m_Buffer;
- std::vector <Vector3i *> *m_BurningBlocks;
+ BlockList *m_BurningBlocks;
};
\ No newline at end of file |