mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-20 00:22:54 +02:00
disable all scripting code when configuring without scripting modules
This commit is contained in:
@@ -126,10 +126,12 @@ std::shared_ptr<CBattleGameInterface> CDynLibHandler::getNewBattleAI(std::string
|
||||
return createAnyAI<CBattleGameInterface>(dllname, "GetNewBattleAI");
|
||||
}
|
||||
|
||||
#if SCRIPTING_ENABLED
|
||||
std::shared_ptr<scripting::Module> CDynLibHandler::getNewScriptingModule(const boost::filesystem::path & dllname)
|
||||
{
|
||||
return createAny<scripting::Module>(dllname, "GetNewModule");
|
||||
}
|
||||
#endif
|
||||
|
||||
BattleAction CGlobalAI::activeStack(const CStack * stack)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user