mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +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);
|
||||
}
|
||||
|
||||
@@ -546,7 +546,7 @@ public:
|
||||
|
||||
bool operator==(OBJECTTYPE& compare);
|
||||
bool operator==(const OBJECTTYPE& compare)const;
|
||||
bool exists();
|
||||
bool exists() const;
|
||||
bool IsActiveLBE(unsigned int index);
|
||||
bool HasAnyActiveLBEs(SOLDIERTYPE * pSoldier = NULL, UINT8 iter = 0);
|
||||
LBENODE* GetLBEPointer(unsigned int index);
|
||||
|
||||
Reference in New Issue
Block a user