Add login.initialize function
This commit is contained in:
@@ -34,7 +34,7 @@ public:
|
||||
// the invariant that there's always an actor. When the first difference
|
||||
// transmission arrives, this actor may be deleted, or it may just be
|
||||
// ignored, at the server's discretion.
|
||||
actor_id_ = world_->create_login_actor();
|
||||
actor_id_ = world_->create_login_actor(false);
|
||||
|
||||
// Clear the unack command queue.
|
||||
unack_.clear();
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
channel_.reset();
|
||||
|
||||
// Create the standalone actor.
|
||||
actor_id_ = world_->create_login_actor();
|
||||
actor_id_ = world_->create_login_actor(true);
|
||||
|
||||
// TODO: initialize the standalone actor.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user