mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 01:48:44 +00:00
Changed: Minor changes
--HG-- branch : develop
This commit is contained in:
parent
c0a3345c83
commit
08671a2c57
2 changed files with 4 additions and 5 deletions
|
@ -741,7 +741,7 @@ void initMainLoop()
|
|||
nmsg = "Creating Landscape ...";
|
||||
ProgressBar.newMessage ( ClientCfg.buildLoadingString(nmsg) );
|
||||
Landscape = Scene->createLandscape();
|
||||
if(Landscape == 0)
|
||||
if(Landscape == NULL)
|
||||
nlerror("initMainLoop : Cannot create a Landscape.");
|
||||
|
||||
if (!ClientCfg.Light)
|
||||
|
@ -829,7 +829,7 @@ void initMainLoop()
|
|||
H_AUTO(InitRZWorld)
|
||||
|
||||
// Initialize World and select the right continent.
|
||||
nmsg = "Loading World ...";
|
||||
nmsg = "Loading World ...";
|
||||
ProgressBar.newMessage ( ClientCfg.buildLoadingString(nmsg) );
|
||||
ContinentMngr.load();
|
||||
ContinentMngr.select(UserEntity->pos(), ProgressBar);
|
||||
|
@ -880,8 +880,9 @@ void initMainLoop()
|
|||
{
|
||||
nlwarning("Can't load HLSBank: %s", e.what());
|
||||
}
|
||||
|
||||
// setup according to client
|
||||
if(ClientCfg.HDTextureInstalled)
|
||||
if (ClientCfg.HDTextureInstalled)
|
||||
{
|
||||
if(ClientCfg.HDEntityTexture)
|
||||
{
|
||||
|
|
|
@ -469,8 +469,6 @@ void CPlayerCL::equip(SLOTTYPE::EVisualSlot slot, const std::string &shapeName,
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Attach to the skeleton.
|
||||
string stickPoint;
|
||||
if(!_Skeleton.empty())
|
||||
|
|
Loading…
Reference in a new issue