forked from Kolyah35/minecraft-pe-0.6.1
Attempt to fix Normal Lighting and Shadows on Android, also disabled fancy trees temporarily due to performance issues on android.
This commit is contained in:
@@ -143,7 +143,7 @@ void Biome::teardownBiomes() {
|
||||
Feature* Biome::getTreeFeature( Random* random )
|
||||
{
|
||||
if (random->nextInt(10) == 0) {
|
||||
return new BasicTree(false);
|
||||
// return new BasicTree(false); // temporarily disabled
|
||||
}
|
||||
return new TreeFeature(false);
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ public:
|
||||
return new BirchFeature();
|
||||
}
|
||||
if (random->nextInt(3) == 0) {
|
||||
return new BasicTree(false);
|
||||
// return new BasicTree(false); // temporarily disabled
|
||||
}
|
||||
return new TreeFeature(false);
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ class RainforestBiome: public Biome
|
||||
public:
|
||||
Feature* getTreeFeature(Random* random) {
|
||||
if (random->nextInt(3) == 0) {
|
||||
return new BasicTree(false);
|
||||
// return new BasicTree(false); // temporarily disabled
|
||||
}
|
||||
return new TreeFeature(false);
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ public:
|
||||
// }
|
||||
} else {
|
||||
if (random->nextInt(10) == 0) {
|
||||
f = new BasicTree(true);
|
||||
// f = new BasicTree(true); // temporarily disabled
|
||||
} else
|
||||
f = new TreeFeature(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user