mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
Changed: GCC warnings
--HG-- branch : develop
This commit is contained in:
parent
bd8cdb46e0
commit
e4109490cd
2 changed files with 2 additions and 2 deletions
|
@ -1395,7 +1395,7 @@ void CPrimitiveWorldImage::reaction (const CCollisionSurfaceDesc& surfaceDesc, c
|
||||||
void CPrimitiveWorldImage::setGlobalPosition (const UGlobalPosition& pos, CMoveContainer& container, CMovePrimitive &primitive, uint8 worldImage)
|
void CPrimitiveWorldImage::setGlobalPosition (const UGlobalPosition& pos, CMoveContainer& container, CMovePrimitive &primitive, uint8 worldImage)
|
||||||
{
|
{
|
||||||
// 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;
|
||||||
|
|
||||||
if (!cont->getGlobalRetriever()) return;
|
if (!cont->getGlobalRetriever()) return;
|
||||||
|
|
|
@ -62,7 +62,7 @@ CGroupController::~CGroupController()
|
||||||
|
|
||||||
void CGroupController::addSource(CSourceCommon *source)
|
void CGroupController::addSource(CSourceCommon *source)
|
||||||
{
|
{
|
||||||
nlassert(this);
|
nlassert(this != NULL);
|
||||||
|
|
||||||
m_Sources.insert(source);
|
m_Sources.insert(source);
|
||||||
increaseSources();
|
increaseSources();
|
||||||
|
|
Loading…
Reference in a new issue