mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Incorporate changes with scripting
This commit is contained in:
parent
2c2c044191
commit
061ac414e8
@ -71,10 +71,12 @@ const HeroTypeService * CGameInfo::heroTypes() const
|
||||
return globalServices->heroTypes();
|
||||
}
|
||||
|
||||
#if SCRIPTING_ENABLED
|
||||
const scripting::Service * CGameInfo::scripts() const
|
||||
{
|
||||
return globalServices->scripts();
|
||||
}
|
||||
#endif
|
||||
|
||||
const spells::Service * CGameInfo::spells() const
|
||||
{
|
||||
|
@ -59,7 +59,9 @@ public:
|
||||
const FactionService * factions() const override;
|
||||
const HeroClassService * heroClasses() const override;
|
||||
const HeroTypeService * heroTypes() const override;
|
||||
#if SCRIPTING_ENABLED
|
||||
const scripting::Service * scripts() const override;
|
||||
#endif
|
||||
const spells::Service * spells() const override;
|
||||
const SkillService * skills() const override;
|
||||
const ObstacleService * obstacles() const override;
|
||||
|
Loading…
Reference in New Issue
Block a user