Changed: Fix warning
This commit is contained in:
parent
64bcfd92fa
commit
ea2caaeb55
1 changed files with 1 additions and 1 deletions
|
@ -1421,7 +1421,7 @@ void CPrimitiveWorldImage::setGlobalPosition (const UGlobalPosition& pos, CMoveC
|
||||||
void CPrimitiveWorldImage::setGlobalPosition (const NLMISC::CVectorD& pos, CMoveContainer& container, CMovePrimitive &primitive, uint8 worldImage, bool keepZ /*= false*/, UGlobalPosition::TType type /* =UGlobalPosition::Unspecified*/)
|
void CPrimitiveWorldImage::setGlobalPosition (const NLMISC::CVectorD& pos, CMoveContainer& container, CMovePrimitive &primitive, uint8 worldImage, bool keepZ /*= false*/, UGlobalPosition::TType type /* =UGlobalPosition::Unspecified*/)
|
||||||
{
|
{
|
||||||
// Cast type
|
// Cast type
|
||||||
nlassert (dynamic_cast<const CMoveContainer*>(&container));
|
nlassert (dynamic_cast<const CMoveContainer*>(&container) != NULL);
|
||||||
const CMoveContainer *cont=(const CMoveContainer*)&container;
|
const CMoveContainer *cont=(const CMoveContainer*)&container;
|
||||||
|
|
||||||
// Get the retriever
|
// Get the retriever
|
||||||
|
|
Loading…
Reference in a new issue