mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Reduced number of accesses to CGObjectInstance::subID
This commit is contained in:
@@ -118,7 +118,7 @@ public:
|
||||
|
||||
/// Gets object of specified type on requested position
|
||||
const CGObjectInstance * getObjectiveObjectFrom(const int3 & pos, Obj type);
|
||||
CGHeroInstance * getHero(int heroId);
|
||||
CGHeroInstance * getHero(HeroTypeID heroId);
|
||||
|
||||
/// Sets the victory/loss condition objectives ??
|
||||
void checkForObjectives();
|
||||
|
||||
Reference in New Issue
Block a user