Changed: Minor changes

This commit is contained in:
kervala 2015-12-20 11:19:51 +01:00
parent 00259ef7e7
commit bb98346cc4
2 changed files with 4 additions and 5 deletions

View file

@ -741,7 +741,7 @@ void initMainLoop()
nmsg = "Creating Landscape ..."; nmsg = "Creating Landscape ...";
ProgressBar.newMessage ( ClientCfg.buildLoadingString(nmsg) ); ProgressBar.newMessage ( ClientCfg.buildLoadingString(nmsg) );
Landscape = Scene->createLandscape(); Landscape = Scene->createLandscape();
if(Landscape == 0) if(Landscape == NULL)
nlerror("initMainLoop : Cannot create a Landscape."); nlerror("initMainLoop : Cannot create a Landscape.");
if (!ClientCfg.Light) if (!ClientCfg.Light)
@ -880,8 +880,9 @@ void initMainLoop()
{ {
nlwarning("Can't load HLSBank: %s", e.what()); nlwarning("Can't load HLSBank: %s", e.what());
} }
// setup according to client // setup according to client
if(ClientCfg.HDTextureInstalled) if (ClientCfg.HDTextureInstalled)
{ {
if(ClientCfg.HDEntityTexture) if(ClientCfg.HDEntityTexture)
{ {

View file

@ -469,8 +469,6 @@ void CPlayerCL::equip(SLOTTYPE::EVisualSlot slot, const std::string &shapeName,
return; return;
} }
// Attach to the skeleton. // Attach to the skeleton.
string stickPoint; string stickPoint;
if(!_Skeleton.empty()) if(!_Skeleton.empty())