mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[8656] Removed wrong static keyword.
Thx Vladimir for pointing it out. Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
29444467a9
commit
aa42097331
2 changed files with 7 additions and 7 deletions
|
|
@ -228,32 +228,32 @@ class MANGOS_DLL_DECL ObjectAccessor : public MaNGOS::Singleton<ObjectAccessor,
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Out of class template specializations
|
/// Out of class template specializations
|
||||||
template <> static inline Creature* ObjectAccessor::GetObjectInWorld(uint64 guid, Creature* /*fake*/)
|
template <> inline Creature* ObjectAccessor::GetObjectInWorld(uint64 guid, Creature* /*fake*/)
|
||||||
{
|
{
|
||||||
return FindHelper<Creature>(guid);
|
return FindHelper<Creature>(guid);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <> static inline GameObject* ObjectAccessor::GetObjectInWorld(uint64 guid, GameObject* /*fake*/)
|
template <> inline GameObject* ObjectAccessor::GetObjectInWorld(uint64 guid, GameObject* /*fake*/)
|
||||||
{
|
{
|
||||||
return FindHelper<GameObject>(guid);
|
return FindHelper<GameObject>(guid);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <> static inline DynamicObject* ObjectAccessor::GetObjectInWorld(uint64 guid, DynamicObject* /*fake*/)
|
template <> inline DynamicObject* ObjectAccessor::GetObjectInWorld(uint64 guid, DynamicObject* /*fake*/)
|
||||||
{
|
{
|
||||||
return FindHelper<DynamicObject>(guid);
|
return FindHelper<DynamicObject>(guid);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <> static inline Pet* ObjectAccessor::GetObjectInWorld(uint64 guid, Pet* /*fake*/)
|
template <> inline Pet* ObjectAccessor::GetObjectInWorld(uint64 guid, Pet* /*fake*/)
|
||||||
{
|
{
|
||||||
return FindHelper<Pet>(guid);
|
return FindHelper<Pet>(guid);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <> static inline Vehicle* ObjectAccessor::GetObjectInWorld(uint64 guid, Vehicle* /*fake*/)
|
template <> inline Vehicle* ObjectAccessor::GetObjectInWorld(uint64 guid, Vehicle* /*fake*/)
|
||||||
{
|
{
|
||||||
return FindHelper<Vehicle>(guid);
|
return FindHelper<Vehicle>(guid);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <> static inline Unit* ObjectAccessor::GetObjectInWorld(uint64 guid, Unit* /*fake*/)
|
template <> inline Unit* ObjectAccessor::GetObjectInWorld(uint64 guid, Unit* /*fake*/)
|
||||||
{
|
{
|
||||||
if(!guid)
|
if(!guid)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8655"
|
#define REVISION_NR "8656"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue