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:
Kayne Ruse
2014-12-31 03:34:06 +11:00
parent 78c04718e0
commit f9c19a630d
12 changed files with 42 additions and 10 deletions
-1
View File
@@ -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;