diff --git a/CMakeLists.txt b/CMakeLists.txt index c5001a894..8e0c0c463 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,7 +56,8 @@ IF(EXISTS "${CMAKE_SOURCE_DIR}/prebuilt/vc100-mt-gd/ogre_1_7_1") set(AUDIERE_LIBRARY "${PREBUILT_DIR}/audiere-1.9.4/lib/audiere.lib") set(ENV{OPENALDIR} "${PREBUILT_DIR}/OpenAL 1.1 SDK") - + + set(BULLET_ROOT "${PREBUILT_DIR}/bullet") ELSE() message (STATUS "OpenMW pre-built binaries not found. Using standard locations.") ENDIF() diff --git a/components/bsa/bsa_archive.cpp b/components/bsa/bsa_archive.cpp index 4b3fbf6c0..f1cf21710 100644 --- a/components/bsa/bsa_archive.cpp +++ b/components/bsa/bsa_archive.cpp @@ -151,7 +151,8 @@ class DirArchive: public Ogre::FileSystemArchive } std::string folder = copy.substr(0, i); //folder with no slash - std::vector current = m[folder]; + + std::vector& current = m[folder]; for(std::vector::iterator iter = current.begin(); iter != current.end(); iter++) { diff --git a/components/files/multidircollection.hpp b/components/files/multidircollection.hpp index 3f9ddad84..a4345fb82 100644 --- a/components/files/multidircollection.hpp +++ b/components/files/multidircollection.hpp @@ -5,6 +5,7 @@ #include #include #include +#include #include