Fixed minor typos in comments.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-06-15 13:04:15 +00:00
parent b833ce158b
commit af147c3c37

View File

@ -268,11 +268,11 @@ void FileManager::pushModelSearchPath(const std::string& path)
io::EFAT_FOLDER);
// A later added file archive should be searched first (so that
// track specific models are found before models in data/models).
// This is not necessary if this is the first member, of ir the
// This is not necessary if this is the first member, or if the
// addFileArchive call did not add this file systems (this can
// happen if the file archive has been added prevously, which
// commonly happens since each kart/track specific path is added
// twice: once for textures and once for models.
// twice: once for textures and once for models).
if(n>0 && (int)m_file_system->getFileArchiveCount()>n)
{
// In this case move the just added file archive
@ -293,12 +293,11 @@ void FileManager::pushTextureSearchPath(const std::string& path)
// A later added file archive should be searched first (so that
// e.g. track specific textures are found before textures in
// data/textures).
// This is not necessary if this is the first member, of ir the
// This is not necessary if this is the first member, or if the
// addFileArchive call did not add this file systems (this can
// happen if the file archive has been added prevously, which
// happen if the file archive has been added previously, which
// commonly happens since each kart/track specific path is added
// twice: once for textures and once for models.
// (which has index n) to position 0 (by -n positions):
// twice: once for textures and once for models).
if(n>0 && (int)m_file_system->getFileArchiveCount()>n)
{
// In this case move the just added file archive