aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.cpp')
-rw-r--r--src/world.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/world.cpp b/src/world.cpp
index 303d53b..eb9f12e 100644
--- a/src/world.cpp
+++ b/src/world.cpp
@@ -140,6 +140,11 @@ void World::deleteEntities(void){
while(!light.empty()){
light.pop_back();
}
+ while(!village.empty()){
+ delete village.back();
+ village.pop_back();
+ }
+
}
World::~World(void){