# HG changeset patch
# User sheepluva
# Date 1320064599 -3600
# Node ID cacab1db8af80a8ac355c21a18b0520b2dc97e3e
# Parent  103bc8fd4f1bee3aba0015e90688ccebe058c1d5
fix HideMission()

diff -r 103bc8fd4f1b -r cacab1db8af8 hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Mon Oct 31 13:12:10 2011 +0100
+++ b/hedgewars/uWorld.pas	Mon Oct 31 13:36:39 2011 +0100
@@ -1324,6 +1324,7 @@
 begin
     missionTimer:= 0;
     if missionTex <> nil then FreeTexture(missionTex);
+    missionTex:= nil;
 end;
 
 procedure ShakeCamera(amount: LongInt);