diff mm7_2.cpp @ 733:700b58aac975

MonsterPopup preview doll fixed
author Nomad
date Fri, 22 Mar 2013 13:24:12 +0200
parents de482c901171
children 2f4e33c1ed24
line wrap: on
line diff
--- a/mm7_2.cpp	Fri Mar 22 11:19:09 2013 +0200
+++ b/mm7_2.cpp	Fri Mar 22 13:24:12 2013 +0200
@@ -9730,14 +9730,14 @@
     byte_6BE388_graphicsmode = 0;
 
   uGammaPos = ReadWindowsRegistryInt("GammaPos", 4);
-  if (uGammaPos < 0 || uGammaPos > 9)
+  if (uGammaPos > 9)
     uGammaPos = 4;
   pGame->pGammaController->Initialize(uGammaPos * 0.1 + 0.6);
 
   if ( ReadWindowsRegistryInt("Bloodsplats", 1) )
     pGame->uFlags2 |= GAME_FLAGS_2_DRAW_BLOODSPLATS;
   else
-    pGame->uFlags2 &= GAME_FLAGS_2_DRAW_BLOODSPLATS;
+    pGame->uFlags2 &= ~GAME_FLAGS_2_DRAW_BLOODSPLATS;
 
   uTurnSpeed = ReadWindowsRegistryInt("TurnDelta", 0);
   dword_6BE384_2dacceloff = ReadWindowsRegistryInt("2dacceloff", 0);