[11448] Fixed typo as source for recent crashes at quest start.

Also more stricjed typecheck for Object::isType arg value.
This commit is contained in:
VladimirMangos 2011-05-09 01:07:45 +04:00
parent 8ee769a3cd
commit a4e91c3593
4 changed files with 4 additions and 4 deletions

View file

@ -154,7 +154,7 @@ class MANGOS_DLL_SPEC Object
void SetObjectScale(float newScale);
uint8 GetTypeId() const { return m_objectTypeId; }
bool isType(uint16 mask) const { return (mask & m_objectType); }
bool isType(TypeMask mask) const { return (mask & m_objectType); }
virtual void BuildCreateUpdateBlockForPlayer( UpdateData *data, Player *target ) const;
void SendCreateUpdateToPlayer(Player* player);