summaryrefslogblamecommitdiffstats
path: root/source/LavaSimulator.cpp
blob: 726cc37e487a8991b721c27634155f6ab9bf7d73 (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(BLOCKTYPE a_BlockType)
{
	return IsBlockLava(a_BlockType);
}