Added trigger reference to WaypointData, unused
WaypointData also inherits from Entity now, so I could alias Entity's API for it too. I've also made a number of comment tweaks.
This commit is contained in:
@@ -78,7 +78,6 @@ void ClientManager::UnloadIf(std::function<bool(std::pair<const int, ClientData>
|
||||
while (it != elementMap.end()) {
|
||||
if (fn(*it)) {
|
||||
it = elementMap.erase(it);
|
||||
//TODO: ? disconnect, unload characters, notify other clients
|
||||
}
|
||||
else {
|
||||
++it;
|
||||
|
||||
Reference in New Issue
Block a user