Changed: Minor changes

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent c0a3345c83
commit 08671a2c57

@ -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)
@ -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…
Cancel
Save