Account data saving must work now

This commit is contained in:
tomrus88 2008-10-28 01:44:27 +03:00
parent 97bf2e7d68
commit 6496f7499e
13 changed files with 87 additions and 71 deletions

View file

@ -242,7 +242,9 @@ class MANGOS_DLL_SPEC Object
{
ASSERT( index < m_valuesCount || PrintIndexError( index , false ) );
ASSERT( offset < 4 );
return (((uint8*)m_uint32Values[index])[offset] & flag) != 0;
//return *(((uint16*)&m_uint32Values[ index ])+offset);
//return (((uint8*)m_uint32Values[index])[offset] & flag) != 0;
return (((uint8*)&m_uint32Values[index])[offset] & flag) != 0;
}
void ApplyModFlag( uint16 index, uint32 flag, bool apply)