# HG changeset patch # User Ritor1 # Date 1361858457 -21600 # Node ID d4ea2d382004c6e59c52d2ac567524916f8bc052 # Parent 35c0595ed61cb970cdbf1eea5441091a057ccc6c m diff -r 35c0595ed61c -r d4ea2d382004 Player.cpp --- 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;