summaryrefslogblamecommitdiffstats
path: root/source/LavaSimulator.cpp
blob: 4c3636f09a3d49071e651d5047cfd92dc9fa345c (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_BlockID)
{
	return IsBlockLava(a_BlockID);
}