diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-30 18:37:44 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-30 18:37:44 +0200 |
commit | ba2a9b6b2c1519563662a6a1147a82f96afb36dc (patch) | |
tree | f176e14fa7afa14a3e598350779bcb755b9d0339 /source/FireSimulator.cpp | |
parent | Fixed initial player head rotation when a player is being spawned on another client (diff) | |
download | cuberite-ba2a9b6b2c1519563662a6a1147a82f96afb36dc.tar cuberite-ba2a9b6b2c1519563662a6a1147a82f96afb36dc.tar.gz cuberite-ba2a9b6b2c1519563662a6a1147a82f96afb36dc.tar.bz2 cuberite-ba2a9b6b2c1519563662a6a1147a82f96afb36dc.tar.lz cuberite-ba2a9b6b2c1519563662a6a1147a82f96afb36dc.tar.xz cuberite-ba2a9b6b2c1519563662a6a1147a82f96afb36dc.tar.zst cuberite-ba2a9b6b2c1519563662a6a1147a82f96afb36dc.zip |
Diffstat (limited to 'source/FireSimulator.cpp')
-rw-r--r-- | source/FireSimulator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/FireSimulator.cpp b/source/FireSimulator.cpp index 9a08524ef..662c4f2d0 100644 --- a/source/FireSimulator.cpp +++ b/source/FireSimulator.cpp @@ -48,7 +48,7 @@ void cFireSimulator::Simulate( float a_Dt ) } -bool cFireSimulator::IsAllowedBlock( char a_BlockID ) +bool cFireSimulator::IsAllowedBlock( BLOCKTYPE a_BlockID ) { return a_BlockID == E_BLOCK_FIRE || IsBlockLava(a_BlockID); @@ -78,12 +78,12 @@ void cFireSimulator::_AddBlock(int a_X, int a_Y, int a_Z) } -bool cFireSimulator::IsForeverBurnable( char a_BlockID ) +bool cFireSimulator::IsForeverBurnable( BLOCKTYPE a_BlockID ) { return a_BlockID == E_BLOCK_BLOODSTONE; } -bool cFireSimulator::IsBurnable( char a_BlockID ) +bool cFireSimulator::IsBurnable( BLOCKTYPE a_BlockID ) { return a_BlockID == E_BLOCK_PLANKS || a_BlockID == E_BLOCK_LEAVES @@ -95,7 +95,7 @@ bool cFireSimulator::IsBurnable( char a_BlockID ) || a_BlockID == E_BLOCK_VINES; } -bool cFireSimulator::FiresForever( char a_BlockID ) +bool cFireSimulator::FiresForever( BLOCKTYPE a_BlockID ) { return a_BlockID != E_BLOCK_FIRE; } |