mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
make OBJECTTYPE::Exists() const
This commit is contained in:
@@ -592,7 +592,7 @@ LBENODE* OBJECTTYPE::GetLBEPointer(unsigned int index)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool OBJECTTYPE::exists()
|
bool OBJECTTYPE::exists() const
|
||||||
{
|
{
|
||||||
return(this && ubNumberOfObjects && usItem);
|
return(this && ubNumberOfObjects && usItem);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -546,7 +546,7 @@ public:
|
|||||||
|
|
||||||
bool operator==(OBJECTTYPE& compare);
|
bool operator==(OBJECTTYPE& compare);
|
||||||
bool operator==(const OBJECTTYPE& compare)const;
|
bool operator==(const OBJECTTYPE& compare)const;
|
||||||
bool exists();
|
bool exists() const;
|
||||||
bool IsActiveLBE(unsigned int index);
|
bool IsActiveLBE(unsigned int index);
|
||||||
bool HasAnyActiveLBEs(SOLDIERTYPE * pSoldier = NULL, UINT8 iter = 0);
|
bool HasAnyActiveLBEs(SOLDIERTYPE * pSoldier = NULL, UINT8 iter = 0);
|
||||||
LBENODE* GetLBEPointer(unsigned int index);
|
LBENODE* GetLBEPointer(unsigned int index);
|
||||||
|
|||||||
Reference in New Issue
Block a user