Revision: 1519
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1519&view=rev
Author:   rorthomas
Date:     2010-08-18 16:53:16 +0000 (Wed, 18 Aug 2010)

Log Message:
-----------
fixing bug introduced in last revision

Modified Paths:
--------------
    trunk/source/main/CacheSystem.cpp

Modified: trunk/source/main/CacheSystem.cpp
===================================================================
--- trunk/source/main/CacheSystem.cpp   2010-08-18 16:49:44 UTC (rev 1518)
+++ trunk/source/main/CacheSystem.cpp   2010-08-18 16:53:16 UTC (rev 1519)
@@ -2200,8 +2200,8 @@
                StringUtil::splitBaseFilename(entry.fname, fbase, fext);
                String minifn = fbase + "-mini." + entry.minitype;
 
+               String group = "";
                bool exists = 
ResourceGroupManager::getSingleton().resourceExistsInAnyGroup(minifn);
-               String group = "";
                if(!exists)
                {
                        String base, ext;
@@ -2639,6 +2639,7 @@
                        bool exists = 
ResourceGroupManager::getSingleton().resourceExistsInAnyGroup(filename);
                        if(!exists)
                                return false;
+                       group = 
ResourceGroupManager::getSingleton().findGroupContainingResource(filename);
                        return res;
                }
        }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel

Reply via email to