Minor editing of comments.

This commit is contained in:
Lasse Öörni 2014-10-14 21:46:16 +03:00
parent bc0a61a116
commit cde92a8358
2 changed files with 3 additions and 2 deletions

View File

@ -1400,7 +1400,8 @@ void Connection::OnPackagesReady()
if (!scene_)
return;
// if sceneLoaded_ is true, then we are at sync state - skip loading, else we at start - loading scene from xml.
// If sceneLoaded_ is true, we may have received additional package downloads while already joined in a scene.
// In that case the scene should not be loaded.
if (sceneLoaded_)
return;

View File

@ -183,7 +183,7 @@ public:
const String& GetDownloadName() const;
/// Return progress of current package download, or 1.0 if no downloads.
float GetDownloadProgress() const;
/// Send message with info about package, clients start download package
/// Trigger client connections to download a package file from the server. Can be used to download additional resource packages when clients are already joined in a scene.
void SendPackageToClients(PackageFile* package);
/// Current controls.