1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-03 09:39:40 +00:00

Issue #178 - workaround for compilation problems with ogre 1.8.0.

This commit is contained in:
Lukasz Gromanowski 2012-01-13 20:41:38 +01:00
parent 022f0fd5bd
commit 37e272b3b5
2 changed files with 10 additions and 4 deletions

View file

@ -221,6 +221,12 @@ class BSAArchive : public Archive
{
BSAFile arc;
FileInfoListPtr findFileInfo(const String&, bool, bool) const
{
static FileInfoListPtr filp(new FileInfoList());
return filp;
}
public:
BSAArchive(const String& name)
: Archive(name, "BSA")

View file

@ -21,17 +21,17 @@ along with Caelum. If not, see <http://www.gnu.org/licenses/>.
#include "CaelumPrecompiled.h"
#include "CaelumPlugin.h"
template<> Caelum::CaelumPlugin* Ogre::Singleton<Caelum::CaelumPlugin>::ms_Singleton = 0;
template<> Caelum::CaelumPlugin* Ogre::Singleton<Caelum::CaelumPlugin>::msSingleton = 0;
namespace Caelum
{
CaelumPlugin* CaelumPlugin::getSingletonPtr () {
return ms_Singleton;
return msSingleton;
}
CaelumPlugin& CaelumPlugin::getSingleton () {
assert (ms_Singleton);
return *ms_Singleton;
assert (msSingleton);
return *msSingleton;
}
extern "C" void CAELUM_EXPORT dllStartPlugin () {