[12631] Use uint32 for phaseMasks in core and database

This commit is contained in:
Dramacydal 2013-05-31 13:26:17 +01:00 committed by Antz
parent 1fa3b614ed
commit 1cd806c02e
10 changed files with 15 additions and 18 deletions

View file

@ -118,7 +118,7 @@ void Corpse::SaveToDB()
<< uint64(m_time) << ", "
<< uint32(GetType()) << ", "
<< int(GetInstanceId()) << ", "
<< uint16(GetPhaseMask()) << ")"; // prevent out of range error
<< uint32(GetPhaseMask()) << ")"; // prevent out of range error
CharacterDatabase.Execute(ss.str().c_str());
CharacterDatabase.CommitTransaction();
}