mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-26 00:36:17 +00:00
Changed: GCC warnings
This commit is contained in:
parent
bb3f3370b8
commit
879cac9d29
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