mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
disable all scripting code when configuring without scripting modules
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user