last ...
This commit is contained in:
@@ -638,6 +638,7 @@ class XCPOIDrawer : public XCBase
|
||||
int DrawBoxes(
|
||||
XBoxZone &boxes[],
|
||||
CArrayObj *&objects,
|
||||
bool useTypeName = true,
|
||||
bool ignoreAt = true //
|
||||
)
|
||||
{
|
||||
@@ -658,14 +659,21 @@ class XCPOIDrawer : public XCBase
|
||||
//
|
||||
bool has = false;
|
||||
XCBoxObject *iObj;
|
||||
string name = NULL;
|
||||
int count = ArraySize(boxes);
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
//
|
||||
if (useTypeName) {
|
||||
name = boxes[i].type;
|
||||
}
|
||||
|
||||
//
|
||||
has = DrawBox(
|
||||
boxes[i],
|
||||
iObj,
|
||||
ignoreAt //
|
||||
ignoreAt,
|
||||
name //
|
||||
);
|
||||
if (has)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user