Mobs Spawn (and probably despawn and Tick)
#3
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 :
Code:
if (g_BlockTransparent(a_BlockType) || a_BlockType == E_BLOCK_TYPE_WATER)
As i didn't want to add sides effects.

Do you think I can put water and lava inside g_BlockTransparent ?
Reply
Thanks given by:


Messages In This Thread
RE: Mobs Spawn (and probably despawn and Tick) - by mgueydan - 07-09-2013, 11:13 PM



Users browsing this thread: 2 Guest(s)