Really removed comments this time
This commit is contained in:
parent
1599d607d1
commit
b48651a034
@ -109,17 +109,10 @@ public:
|
|||||||
|
|
||||||
static bool CanBePlacedOn(BLOCKTYPE a_BlockType, char a_Direction)
|
static bool CanBePlacedOn(BLOCKTYPE a_BlockType, char a_Direction)
|
||||||
{
|
{
|
||||||
//case E_BLOCK_GLASS:
|
|
||||||
//case E_BLOCK_FENCE:
|
|
||||||
//case E_BLOCK_NETHER_BRICK_FENCE:
|
|
||||||
//case E_BLOCK_PISTON:
|
|
||||||
//case E_BLOCK_IRON_BARS
|
|
||||||
if ( g_BlockIsSolid[a_BlockType] ) {
|
if ( g_BlockIsSolid[a_BlockType] ) {
|
||||||
return (a_Direction == 0x1); // allow only direction "standing on floor"
|
return (a_Direction == 0x1); // allow only direction "standing on floor"
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
//default:
|
|
||||||
//{
|
|
||||||
return g_BlockIsSolid[a_BlockType];
|
return g_BlockIsSolid[a_BlockType];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user