mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-27 19:10:52 +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)
|
||||
{
|
||||
// Cast type
|
||||
nlassert (dynamic_cast<const CMoveContainer*>(&container));
|
||||
nlassert (dynamic_cast<const CMoveContainer*>(&container) != NULL);
|
||||
const CMoveContainer *cont=(const CMoveContainer*)&container;
|
||||
|
||||
if (!cont->getGlobalRetriever()) return;
|
||||
|
|
|
@ -62,7 +62,7 @@ CGroupController::~CGroupController()
|
|||
|
||||
void CGroupController::addSource(CSourceCommon *source)
|
||||
{
|
||||
nlassert(this);
|
||||
nlassert(this != NULL);
|
||||
|
||||
m_Sources.insert(source);
|
||||
increaseSources();
|
||||
|
|
Loading…
Reference in a new issue