aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gameplay.cpp')
-rw-r--r--src/gameplay.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gameplay.cpp b/src/gameplay.cpp
index 1c77309..e16e892 100644
--- a/src/gameplay.cpp
+++ b/src/gameplay.cpp
@@ -320,6 +320,7 @@ extern std::vector<NPC *> AIpreaddr;
void destroyEverything(void){
currentWorld->save();
delete currentWorld;
+ delete[] currentXML;
while(!AIpreload.empty())
AIpreload.pop_back();