summaryrefslogtreecommitdiff
path: root/game/terrain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/terrain.cpp')
-rw-r--r--game/terrain.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/game/terrain.cpp b/game/terrain.cpp
index 786b9b0..01af163 100644
--- a/game/terrain.cpp
+++ b/game/terrain.cpp
@@ -56,10 +56,12 @@ Terrain::generateMeshes()
void
Terrain::tick(TickDuration)
{
- if (const auto newGeneration = getGeneration(); newGeneration != geoGeneration) {
+}
+
+void
+Terrain::afterChange()
+{
generateMeshes();
- geoGeneration = newGeneration;
- }
}
void