Applied patch from mirceakitsune to fix #502 (lower land does the same as raise land)
parent
07d0f558c4
commit
f6e9b9404f
|
@ -123,7 +123,7 @@ namespace libTerrain
|
|||
z -= ((x - rx)*(x - rx)) + ((y - ry)*(y - ry));
|
||||
|
||||
if (z > 0.0)
|
||||
Set(x, y, map[x, y] + (z * amount));
|
||||
Set(x, y, map[x, y] - (z * amount));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue