Changed: #825 Remove all warning when compiling Ryzom

hg/feature/sound
kervala 14 years ago
parent 65fffec520
commit 61b62360ca

@ -843,7 +843,7 @@ bool ShapesExporter::renderPS(UInstance &entity, const string &output_path, doub
if(!saveOneImage(filename))
return false;
}
if(time >= 30.0 || nbparticle == 0 && startTime > 0.0f || duration != 0.0f && time > duration)
if(time >= 30.0 || (nbparticle == 0 && startTime > 0.0f) || (duration != 0.0f && time > duration))
break;
}

@ -208,7 +208,7 @@ const std::string TileInfo::getRelativeFileName (TileTexture texture, int index)
{
nlassert(this->tileType != UnSet);
std::string currentPath = "";
std::string currentPath;
if (tileType != Displace)
{
currentPath = tileBankBrowser.getTile(index)->getRelativeFileName ((CTile::TBitmap)texture);

Loading…
Cancel
Save