Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 4, 2013, 9:49:17 PM (11 years ago)
Author:
landauf
Message:

adjusted code for ogre 1.8.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/libs/src/libraries/core/Resource.cc

    r8351 r9669  
    101101                ptr->group = group;
    102102                ptr->size = it->uncompressedSize;
     103#if OGRE_VERSION >= 0x010800
     104                if (dynamic_cast<const Ogre::FileSystemArchive*>(it->archive) != NULL)
     105#else
    103106                if (dynamic_cast<Ogre::FileSystemArchive*>(it->archive) != NULL)
     107#endif
    104108                {
    105109                    boost::filesystem::path base(it->archive->getName());
Note: See TracChangeset for help on using the changeset viewer.