Style fixes.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-12-11 14:08:13 +01:00
parent affb17fd92
commit b6a5e41b51
2 changed files with 3 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ void AngelScriptResolver::Initialize(CreatureLib::Battling::BattleLibrary* arg,
_engine->SetEngineProperty(asEP_PROPERTY_ACCESSOR_MODE, 2);
_engine->SetEngineProperty(asEP_COMPILER_WARNINGS, 2);
if (includeStandard){
if (includeStandard) {
RegisterStdString(_engine);
ConstStringRegister::Register(_engine);
@@ -84,7 +84,7 @@ void AngelScriptResolver::Initialize(CreatureLib::Battling::BattleLibrary* arg,
RegisterTypes();
RegisterExceptionRoutines(_engine);
if (library != nullptr){
if (library != nullptr) {
auto& staticLib = library->GetStaticLib();
_engine->RegisterGlobalProperty("const StaticLibrary@ StaticLib", (void*)staticLib.get());
}