mirror of
https://github.com/mangosfour/server.git
synced 2026-01-01 07:37:07 +00:00
Merge branch 'master' into 303
Conflicts: src/game/WorldSocket.cpp src/shared/Database/DBCStructure.h src/shared/Database/DBCfmt.cpp
This commit is contained in:
commit
6fae544fbe
23 changed files with 280 additions and 118 deletions
|
|
@ -411,6 +411,8 @@ class MANGOS_DLL_SPEC WorldObject : public Object
|
|||
const char* GetName() const { return m_name.c_str(); }
|
||||
void SetName(std::string newname) { m_name=newname; }
|
||||
|
||||
virtual const char* GetNameForLocaleIdx(int32 /*locale_idx*/) const { return GetName(); }
|
||||
|
||||
float GetDistance( const WorldObject* obj ) const;
|
||||
float GetDistance(const float x, const float y, const float z) const;
|
||||
float GetDistance2d(const WorldObject* obj) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue