diff Player.cpp @ 478:d4ea2d382004

m
author Ritor1
date Tue, 26 Feb 2013 12:00:57 +0600
parents 0dbf780e247f
children 4bd56919f075 9b4bdf6089af
line wrap: on
line diff
--- a/Player.cpp	Tue Feb 26 07:59:16 2013 +0600
+++ b/Player.cpp	Tue Feb 26 12:00:57 2013 +0600
@@ -7984,9 +7984,9 @@
         case VAR_QBits_QuestsDone:
           v13 = 0x80u >> (pValue - 1) % 8;
           v14 = pParty->_award_bits[(pValue - 1) >> 3];
-          if ( !((unsigned __int8)v13 & v14) )
-            return false;
-          return true;
+          if ( v13 & v14 )
+            return true;
+          return false;
         case VAR_PlayerItemInHands:
           v15 = 0;
           v16 = v3->pInventoryItems;