mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-19 00:17:56 +02:00
disable all scripting code when configuring without scripting modules
This commit is contained in:
AI/BattleAI
CCallback.cppCCallback.hCMakeLists.txtclient
include/vcmi
lib
CGameInterface.cppCGameInterface.hCModHandler.cppCScriptingModule.cppCScriptingModule.hIGameCallback.hScriptHandler.cppScriptHandler.hVCMI_Lib.cppVCMI_Lib.h
battle
spells
server
@ -11,6 +11,7 @@
|
||||
|
||||
#include "CScriptingModule.h"
|
||||
|
||||
#if SCRIPTING_ENABLED
|
||||
namespace scripting
|
||||
{
|
||||
|
||||
@ -30,3 +31,4 @@ Module::Module()
|
||||
Module::~Module() = default;
|
||||
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user