forked from oerkki/voxelands
silly double check
This commit is contained in:
parent
05b6801663
commit
474b78ce0e
|
@ -1499,13 +1499,11 @@ void ServerEnvironment::step(float dtime)
|
||||||
ContentFeatures &f = content_features(n_top);
|
ContentFeatures &f = content_features(n_top);
|
||||||
if (f.air_equivalent) {
|
if (f.air_equivalent) {
|
||||||
if (n.envticks > 2) {
|
if (n.envticks > 2) {
|
||||||
if (f.air_equivalent) {
|
|
||||||
if (p.Y > 50 && p.Y < 1024) {
|
if (p.Y > 50 && p.Y < 1024) {
|
||||||
n.setContent(CONTENT_MUDSNOW);
|
n.setContent(CONTENT_MUDSNOW);
|
||||||
m_map->addNodeWithEvent(p, n);
|
m_map->addNodeWithEvent(p, n);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
int f = (700-(p.Y*2))+10;
|
int f = (700-(p.Y*2))+10;
|
||||||
if (p.Y > 1 && myrand()%f == 0) {
|
if (p.Y > 1 && myrand()%f == 0) {
|
||||||
if (n_top.getContent() == CONTENT_AIR && n_top.getLightBlend(getDayNightRatio()) >= 13) {
|
if (n_top.getContent() == CONTENT_AIR && n_top.getLightBlend(getDayNightRatio()) >= 13) {
|
||||||
|
|
Loading…
Reference in New Issue