Fix bugs in animation queue handling, and add animation timeouts
This commit is contained in:
@@ -179,7 +179,7 @@ public:
|
||||
}
|
||||
|
||||
void change_actor_id(int64_t actor_id) {
|
||||
stdostream() << "Actor ID changing: " << actor_id << std::endl;
|
||||
util::dprint("Actor ID changing: ", actor_id);
|
||||
print_channeler_.reset();
|
||||
actor_id_ = actor_id;
|
||||
set_visible_world_and_actor(world_.get(), actor_id_);
|
||||
@@ -257,7 +257,7 @@ public:
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
stdostream() << "Invalid event_access: " << int(kind) << std::endl;
|
||||
util::dprint("Invalid event_access: ", int(kind));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -281,7 +281,7 @@ public:
|
||||
// Check for communication from server..
|
||||
if (channel_ != nullptr) {
|
||||
if (channel_->closed()) {
|
||||
stdostream() << "server closed connection: " << channel_->error() << std::endl;
|
||||
util::dprint("server closed connection: ", channel_->error());
|
||||
abandon_server();
|
||||
} else {
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user