mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 13:20:35 +00:00
fixed compilation problem with llvm clang: constant type explicitly set to float
This commit is contained in:
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…
x
Reference in New Issue
Block a user