1
0

Merge branch 'master' into PerWorldThreads

This commit is contained in:
madmaxoft
2013-08-12 07:46:41 +02:00
5 changed files with 27 additions and 18 deletions

View File

@@ -744,6 +744,13 @@ void cWorld::TickSpawnMobs(float a_Dt)
case 6: MobType = E_ENTITY_TYPE_ZOMBIE_PIGMAN; break;
}
}
else if (GetBiomeAt((int)SpawnPos.x, (int)SpawnPos.z) == biSky)
{
switch (nightRand)
{
case 5: MobType = E_ENTITY_TYPE_ENDERMAN; break;
}
}
else
{
switch (nightRand)