hedgewars/uStore.pas
changeset 3634 93d260c96635
parent 3629 86212d2b116a
child 3641 98319a621dc8
--- a/hedgewars/uStore.pas	Sat Jul 10 02:02:37 2010 +0200
+++ b/hedgewars/uStore.pas	Sat Jul 10 15:39:07 2010 +0200
@@ -1511,11 +1511,11 @@
     extra: ansistring;
     extracolor: LongInt;
 begin
-// don't do anything if the window shouldn't be shown
-if not cWeaponTooltips then
+    // don't do anything if the window shouldn't be shown
+    if (cReducedQuality and rqTooltipsOff) <> 0 then
     begin
-    WeaponTooltipTex:= nil;
-    exit
+        WeaponTooltipTex:= nil;
+        exit
     end;
 
 // free old texture