1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +00:00

fixed compilation problem with llvm clang: constant type explicitly set to float

This commit is contained in:
Nikolay Kasyanov 2012-01-24 16:01:29 +04:00
parent f14dc90b34
commit ec6243dd77

View file

@ -1268,7 +1268,7 @@ void NIFLoader::loadResource(Resource *resource)
Nif::Node *o = dynamic_cast<Nif::Node*>(f->target.getPtr());
Nif::NiKeyframeDataPtr data = f->data;
if (f->timeStart == 10000000000000000)
if (f->timeStart == 10000000000000000.0f)
continue;
data->setBonename(o->name.toString());
data->setStartTime(f->timeStart);