summaryrefslogtreecommitdiffstats
path: root/source/cFireSimulator.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-14 13:29:39 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-14 13:29:39 +0100
commit504803cb6dbeebcaec969dae9d71f7e78e7bd725 (patch)
tree4aa4934581d0c8427ebeb4247f6bce7aabd4a9d3 /source/cFireSimulator.h
parentFixed a (pretty big) memory leak in cSandSimulator (diff)
downloadcuberite-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.h7
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