forked from Mirrors/openclonk
Build fix for MSVC2010
I think this is a compiler bug, because the standard specifies std::list::insert to be not a template member, so it should never accept int as valuestable-5.2
parent
af827da45d
commit
40babd09e3
|
@ -1636,14 +1636,14 @@ StdMeshInstance::AnimationNodeList::iterator StdMeshInstance::GetStackIterForSlo
|
||||||
if(!create)
|
if(!create)
|
||||||
return AnimationStack.end();
|
return AnimationStack.end();
|
||||||
else
|
else
|
||||||
return AnimationStack.insert(iter, NULL);
|
return AnimationStack.insert(iter, static_cast<AnimationNode*>(NULL));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!create)
|
if(!create)
|
||||||
return AnimationStack.end();
|
return AnimationStack.end();
|
||||||
else
|
else
|
||||||
return AnimationStack.insert(AnimationStack.end(), NULL);
|
return AnimationStack.insert(AnimationStack.end(), static_cast<AnimationNode*>(NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool StdMeshInstance::ExecuteAnimationNode(AnimationNode* node)
|
bool StdMeshInstance::ExecuteAnimationNode(AnimationNode* node)
|
||||||
|
|
Loading…
Reference in New Issue