Warnings
parent
d33d72f0dc
commit
21e85b0745
|
@ -69,6 +69,8 @@ public:
|
||||||
m_BoundingBox(a_BoundingBox)
|
m_BoundingBox(a_BoundingBox)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual ~cMineShaft() {}
|
||||||
|
|
||||||
/// Returns true if this mineshaft intersects the specified cuboid
|
/// Returns true if this mineshaft intersects the specified cuboid
|
||||||
bool DoesIntersect(const cCuboid & a_Other)
|
bool DoesIntersect(const cCuboid & a_Other)
|
||||||
|
|
|
@ -595,7 +595,7 @@ void GetPineTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
ASSERT(LayerSize < ARRAYCOUNT(BigOs));
|
ASSERT((size_t)LayerSize < ARRAYCOUNT(BigOs));
|
||||||
PushCoordBlocks(a_BlockX, h, a_BlockZ, a_OtherBlocks, BigOs[LayerSize].Coords, BigOs[LayerSize].Count, E_BLOCK_LEAVES, E_META_LEAVES_CONIFER);
|
PushCoordBlocks(a_BlockX, h, a_BlockZ, a_OtherBlocks, BigOs[LayerSize].Coords, BigOs[LayerSize].Count, E_BLOCK_LEAVES, E_META_LEAVES_CONIFER);
|
||||||
h--;
|
h--;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue