mikade's request: dont delete mission text/texture in HideMission() (so that it can still be looked at in ESC menu
authorsheepluva
Mon, 31 Oct 2011 14:44:43 +0100
changeset 6250 cd01e4f93ed9
parent 6249 cacab1db8af8
child 6251 5cd33711afb9
mikade's request: dont delete mission text/texture in HideMission() (so that it can still be looked at in ESC menu
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Mon Oct 31 13:36:39 2011 +0100
+++ b/hedgewars/uWorld.pas	Mon Oct 31 14:44:43 2011 +0100
@@ -1323,8 +1323,6 @@
 procedure HideMission;
 begin
     missionTimer:= 0;
-    if missionTex <> nil then FreeTexture(missionTex);
-    missionTex:= nil;
 end;
 
 procedure ShakeCamera(amount: LongInt);