changeset 478:d4ea2d382004

m
author Ritor1
date Tue, 26 Feb 2013 12:00:57 +0600
parents 35c0595ed61c
children 89f6107c3362
files Player.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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;