diff UI/UIHouses.cpp @ 2234:fd0b2a697416

fixing inverted guild greetings
author Grumpy7
date Sun, 23 Feb 2014 00:34:38 +0100
parents e9625ad08541
children aff7a7b072b7
line wrap: on
line diff
--- a/UI/UIHouses.cpp	Sat Feb 22 19:55:54 2014 +0100
+++ b/UI/UIHouses.cpp	Sun Feb 23 00:34:38 2014 +0100
@@ -892,7 +892,7 @@
 			v19 = guild_mambership_flags[uHouseID - HOUSE_FIRE_GUILD_INITIATE_EMERALD_ISLE]; //guilds flags 
 			//v20 = uHouseID;
 			//if ( !((unsigned __int8)(0x80u >> v19 % 8) & pPlayers[uActiveCharacter]->_guilds_member_bits[v19 /8]) )
-			if(_449B57_test_bit(pPlayers[uActiveCharacter]->_achieved_awards_bits,v19))
+			if(!_449B57_test_bit(pPlayers[uActiveCharacter]->_achieved_awards_bits,v19))
             {
 				PlayHouseSound(uHouseID, HouseSound_Greeting_2);
 				return 1;