fix HideMission()
authorsheepluva
Mon, 31 Oct 2011 13:36:39 +0100
changeset 6249 cacab1db8af8
parent 6248 103bc8fd4f1b
child 6250 cd01e4f93ed9
fix HideMission()
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);