From dcce79b24d966ac66042900bd233db17ba1ec5d1 Mon Sep 17 00:00:00 2001 From: faketruth Date: Tue, 14 Feb 2012 12:54:54 +0000 Subject: Apparently the Fire plugin is depreciated since it's implemented in C++ :P Using std::list instead of std::vector for fire, I think this would be faster due to all the adding and removing blocks from lists. Correct me if I'm wrong git-svn-id: http://mc-server.googlecode.com/svn/trunk@254 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cFireSimulator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/cFireSimulator.h b/source/cFireSimulator.h index ef2da6756..1a3bbd314 100644 --- a/source/cFireSimulator.h +++ b/source/cFireSimulator.h @@ -1,7 +1,7 @@ #pragma once #include "cSimulator.h" #include "cBlockEntity.h" -#include "vector" +#include class Vector3i; class cWorld; @@ -25,7 +25,7 @@ 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); - typedef std::vector BlockList; + typedef std::list BlockList; BlockList *m_Blocks; BlockList *m_Buffer; -- cgit v1.2.3