diff options
| author | Chaz Brown <iamparadox@netscape.net> | 2009-03-31 19:32:04 -0400 |
|---|---|---|
| committer | Chaz Brown <iamparadox@netscape.net> | 2009-03-31 19:32:04 -0400 |
| commit | 9bf1412fd87c58ae039b2da43c1280ae185126aa (patch) | |
| tree | f6540aa44050dc1027b670f645837fc12c302786 | |
| parent | 84f3bf8b7132ce7960fac868bbcdf573bad8da3d (diff) | |
CRLF fix
--HG--
branch : trunk
| -rw-r--r-- | src/game/ObjectAccessor.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/game/ObjectAccessor.h b/src/game/ObjectAccessor.h index 218d1d91995..d1549712f30 100644 --- a/src/game/ObjectAccessor.h +++ b/src/game/ObjectAccessor.h @@ -154,30 +154,30 @@ class TRINITY_DLL_DECL ObjectAccessor : public Trinity::Singleton<ObjectAccessor Player* FindPlayerByName(const char *name) ; - HashMapHolder<Player>::MapType& GetPlayers()
- {
- return HashMapHolder<Player>::GetContainer();
- }
-
- HashMapHolder<Creature>::MapType& GetCreatures()
- {
- return HashMapHolder<Creature>::GetContainer();
- }
-
- HashMapHolder<Unit>::MapType& GetUnits()
- {
- return HashMapHolder<Unit>::GetContainer();
- }
-
- HashMapHolder<GameObject>::MapType& GetGameObjects()
- {
- return HashMapHolder<GameObject>::GetContainer();
- }
-
- // note: possibly very heavy
- HashMapHolder<WorldObject>::MapType& GetWorldObjects()
- {
- return HashMapHolder<WorldObject>::GetContainer();
+ HashMapHolder<Player>::MapType& GetPlayers() + { + return HashMapHolder<Player>::GetContainer(); + } + + HashMapHolder<Creature>::MapType& GetCreatures() + { + return HashMapHolder<Creature>::GetContainer(); + } + + HashMapHolder<Unit>::MapType& GetUnits() + { + return HashMapHolder<Unit>::GetContainer(); + } + + HashMapHolder<GameObject>::MapType& GetGameObjects() + { + return HashMapHolder<GameObject>::GetContainer(); + } + + // note: possibly very heavy + HashMapHolder<WorldObject>::MapType& GetWorldObjects() + { + return HashMapHolder<WorldObject>::GetContainer(); } template<class T> void AddObject(T *object) |
