mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Reduced number of accesses to CGObjectInstance::subID
This commit is contained in:
@@ -16,17 +16,6 @@ VCMI_LIB_NAMESPACE_BEGIN
|
||||
class CGObjectInstance;
|
||||
class int3;
|
||||
|
||||
/// function object which can be used to find an object with an specific sub ID
|
||||
class CGObjectInstanceBySubIdFinder
|
||||
{
|
||||
public:
|
||||
CGObjectInstanceBySubIdFinder(CGObjectInstance * obj);
|
||||
bool operator()(CGObjectInstance * obj) const;
|
||||
|
||||
private:
|
||||
CGObjectInstance * obj;
|
||||
};
|
||||
|
||||
class DLL_LINKAGE CObjectHandler
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user