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

actorid
Nikolay Kasyanov 13 years ago
parent f14dc90b34
commit ec6243dd77

@ -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);

Loading…
Cancel
Save