From 66781e7ca30381606605753554b779739e5fcd1c Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 18 Oct 2010 21:15:22 +0200 Subject: [PATCH] Changed: #1135 Merge changes from Ryzom patch 1.10 --- code/ryzom/client/src/character_cl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/character_cl.cpp b/code/ryzom/client/src/character_cl.cpp index 4e7a45885..e74539f74 100644 --- a/code/ryzom/client/src/character_cl.cpp +++ b/code/ryzom/client/src/character_cl.cpp @@ -1863,8 +1863,8 @@ void CCharacterCL::updateVisualPropertyPvpClan(const NLMISC::TGameCycle &/* game // get fames signs from prop for (uint8 fameIdx = 0; fameIdx < 7; fameIdx++) { - _PvpAllies[fameIdx] = prop & (1 << 2*fameIdx); - _PvpEnemies[fameIdx] = prop & (1 << ((2*fameIdx)+1)); + _PvpAllies[fameIdx] = (prop & (SINT64_CONSTANT(1) << (2*fameIdx))) != 0; + _PvpEnemies[fameIdx] = (prop & (SINT64_CONSTANT(1) << (2*fameIdx+1))) != 0; } _ClanCivMaxFame = PVP_CLAN::TPVPClan((prop & (0x03 << 2*7)) >> 2*7);