aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.h
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-28 15:59:45 -0700
committermaximius <none@none>2009-10-28 15:59:45 -0700
commitd5b8ad0080d45c2f02ef5a4fdd4d8853da286b6d (patch)
treeea4c4d8033eaa400f309aa7f762518c8c5d41665 /src/game/GameObject.h
parent37d2e9f16c7e6bd92ceab2bebe7decbd4fe43925 (diff)
*One player per slot on bench/chair, original patch by Trojan for TC1.
--HG-- branch : trunk
Diffstat (limited to 'src/game/GameObject.h')
-rw-r--r--src/game/GameObject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/GameObject.h b/src/game/GameObject.h
index c0362702176..1386e220317 100644
--- a/src/game/GameObject.h
+++ b/src/game/GameObject.h
@@ -729,6 +729,9 @@ class TRINITY_DLL_SPEC GameObject : public WorldObject
std::set<uint32> m_unique_users;
uint32 m_usetimes;
+ typedef std::map<uint32,uint64> ChairSlotAndUser;
+ ChairSlotAndUser ChairListSlots;
+
uint32 m_DBTableGuid; ///< For new or temporary gameobjects is 0 for saved it is lowguid
GameObjectInfo const* m_goInfo;
GameObjectData const* m_goData;