07-09-2013, 11:13 PM
Hello.
As mobs are suppose to spawn on Opaque block (i.e. non-transparent), I figured out that water was not inside g_BlockTransparent.
For now I hacked this with something like :
As i didn't want to add sides effects.
Do you think I can put water and lava inside g_BlockTransparent ?
As mobs are suppose to spawn on Opaque block (i.e. non-transparent), I figured out that water was not inside g_BlockTransparent.
For now I hacked this with something like :
Code:
if (g_BlockTransparent(a_BlockType) || a_BlockType == E_BLOCK_TYPE_WATER)
Do you think I can put water and lava inside g_BlockTransparent ?