Changed: #825 Remove all warning when compiling Ryzom

This commit is contained in:
kervala 2010-10-24 22:31:10 +02:00
parent 411405feb5
commit f63cf62f19
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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);