summaryrefslogblamecommitdiffstats
path: root/source/LavaSimulator.cpp
blob: 15cf5591c508c91aea10ed3a83395a30474518e8 (plain) (tree)
1
2
3
4
                    
                          
                    
                  














                                                         
 
#include "Globals.h"
#include "LavaSimulator.h"
#include "Defines.h"
#include "World.h"


cLavaSimulator::cLavaSimulator(cWorld *a_World)
	: cFluidSimulator(a_World)
{
	m_FluidBlock = E_BLOCK_LAVA;
	m_StationaryFluidBlock = E_BLOCK_STATIONARY_LAVA;
	m_MaxHeight = 6;
	m_FlowReduction = 2;
}


bool cLavaSimulator::IsAllowedBlock(char a_BlockID)
{
	return IsBlockLava(a_BlockID);
}