forked from mirror/openmw-tes3mp
Trying to get code to conform with older c++
This commit is contained in:
parent
d855bb4fc6
commit
cef2f5e927
5 changed files with 8 additions and 7 deletions
|
@ -1250,7 +1250,7 @@ void NIFLoader::loadResource(Resource *resource)
|
|||
Nif::Node *o = dynamic_cast<Nif::Node*>(f->target.getPtr());
|
||||
Nif::NiKeyframeDataPtr data = f->data;
|
||||
|
||||
if (f->timeStart == FLT_MAX)
|
||||
if (f->timeStart == 10000000000000000)
|
||||
continue;
|
||||
data->setBonename(o->name.toString());
|
||||
data->setStartTime(f->timeStart);
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include <boost/algorithm/string.hpp>
|
||||
#include <Ogre.h>
|
||||
#include <stdio.h>
|
||||
#include <iostream>
|
||||
|
||||
#include <libs/mangle/vfs/servers/ogre_vfs.hpp>
|
||||
#include "../nif/nif_file.hpp"
|
||||
|
|
Loading…
Reference in a new issue