summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/World.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index f638b4b22..2b7f78760 100644
--- a/src/World.h
+++ b/src/World.h
@@ -830,6 +830,7 @@ private:
virtual ~cScheduledTask()
{
delete m_Task;
+ m_Task = NULL;
}
};