diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 71276f518..15f3f074a 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -12479,9 +12479,9 @@ void Player::OnGossipSelect(WorldObject* pSource, uint32 gossipListId, uint32 me if (pMenuData.m_gAction_script) { - if (pSource->GetTypeId() == TYPEID_UNIT) + if (pSource->GetTypeId() == TYPEID_GAMEOBJECT) GetMap()->ScriptsStart(sGossipScripts, pMenuData.m_gAction_script, this, pSource); - else if (pSource->GetTypeId() == TYPEID_GAMEOBJECT) + else if (pSource->GetTypeId() == TYPEID_UNIT) GetMap()->ScriptsStart(sGossipScripts, pMenuData.m_gAction_script, pSource, this); } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 979ee234a..c8d45a4e8 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9266" + #define REVISION_NR "9267" #endif // __REVISION_NR_H__