otland/forgottenserver — pull request #973 by viperthepala (2014-09-01 08:42:30+00:00)
Title: Cast system

Cast system version 0.1, its not completed yet.
It bugs on logout.

#ifdef CAST_SYSTEM
if (clients.size() > 0) {
for (auto clients) {
clients->logout(true, true);
}
#else
if (client) {
client->logout(true, true);
#endif
} else {
g_game.removeCreature(this, true);
}

Somhow it does not serialize correctly here.
I assume it has to do with the order the steamer/viewers are logged out however am not sure.