X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_entitycontainer.cpp;h=a13c0d6fc82ea385193d560c8f8da65eade50357;hb=c715d05d11ffe2913fe3465ec43d456ee9b85964;hp=8434b9cc86a22e009e3e7c56f2470ca35c2af724;hpb=937ade06241548bfbc7858705b3ce1c7778c3d88;p=architektonas diff --git a/src/base/rs_entitycontainer.cpp b/src/base/rs_entitycontainer.cpp index 8434b9c..a13c0d6 100644 --- a/src/base/rs_entitycontainer.cpp +++ b/src/base/rs_entitycontainer.cpp @@ -348,7 +348,7 @@ void RS_EntityContainer::addEntity(RS_Entity * entity) */ //printf("RS_EntityContainer::addEntity(): entity=%08X\n", entity); - if (entity == NULL) + if (!entity) return; if (entity->rtti() == RS2::EntityImage || entity->rtti() == RS2::EntityHatch)