Core: And some more cleanups...

This commit is contained in:
click
2011-06-12 02:00:43 +02:00
parent f16df538ee
commit c77aa6e846
34 changed files with 95 additions and 95 deletions
+4 -4
View File
@@ -80,11 +80,11 @@ class InstanceSave
/* online players bound to the instance (perm/solo)
does not include the members of the group unless they have permanent saves */
void AddPlayer(Player *player) { m_playerList.push_back(player); }
bool RemovePlayer(Player *player) { m_playerList.remove(player); return UnloadIfEmpty(); }
void AddPlayer(Player* player) { m_playerList.push_back(player); }
bool RemovePlayer(Player* player) { m_playerList.remove(player); return UnloadIfEmpty(); }
/* all groups bound to the instance */
void AddGroup(Group *group) { m_groupList.push_back(group); }
bool RemoveGroup(Group *group) { m_groupList.remove(group); return UnloadIfEmpty(); }
void AddGroup(Group* group) { m_groupList.push_back(group); }
bool RemoveGroup(Group* group) { m_groupList.remove(group); return UnloadIfEmpty(); }
/* instances cannot be reset (except at the global reset time)
if there are players permanently bound to it