Style fixes.
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
af559f757c
commit
9b4cb06641
|
@ -268,12 +268,8 @@ void AngelScriptScript::ChangePriority(CreatureLib::Battling::AttackTurnChoice*
|
|||
})
|
||||
}
|
||||
void AngelScriptScript::OnFail(CreatureLib::Battling::Creature* target) {
|
||||
CALL_HOOK(OnFail, {
|
||||
ctx->SetArgObject(0, (void*)target);
|
||||
})
|
||||
CALL_HOOK(OnFail, { ctx->SetArgObject(0, (void*)target); })
|
||||
}
|
||||
void AngelScriptScript::OnOpponentFail(CreatureLib::Battling::Creature* target) {
|
||||
CALL_HOOK(OnOpponentFail, {
|
||||
ctx->SetArgObject(0, (void*)target);
|
||||
})
|
||||
CALL_HOOK(OnOpponentFail, { ctx->SetArgObject(0, (void*)target); })
|
||||
}
|
||||
|
|
|
@ -41,8 +41,7 @@ void RegisterExecutingAttack::RegisterHitData(asIScriptEngine* engine) {
|
|||
asCALL_THISCALL);
|
||||
Ensure(r >= 0);
|
||||
r = engine->RegisterObjectMethod("HitData", "void Fail()",
|
||||
asMETHOD(CreatureLib::Battling::ExecutingAttack::HitData, Fail),
|
||||
asCALL_THISCALL);
|
||||
asMETHOD(CreatureLib::Battling::ExecutingAttack::HitData, Fail), asCALL_THISCALL);
|
||||
Ensure(r >= 0);
|
||||
}
|
||||
void RegisterExecutingAttack::RegisterExecutingAttackType(asIScriptEngine* engine) {
|
||||
|
|
|
@ -187,8 +187,8 @@ void RegisterPokemonClass::RegisterPokemonType(asIScriptEngine* engine) {
|
|||
asCALL_THISCALL);
|
||||
Ensure(r >= 0);
|
||||
|
||||
r = engine->RegisterObjectMethod("Pokemon", "Battle@ get_Battle() const property",
|
||||
asFUNCTION(GetBattleWrapper), asCALL_CDECL_OBJFIRST);
|
||||
r = engine->RegisterObjectMethod("Pokemon", "Battle@ get_Battle() const property", asFUNCTION(GetBattleWrapper),
|
||||
asCALL_CDECL_OBJFIRST);
|
||||
Ensure(r >= 0);
|
||||
r = engine->RegisterObjectMethod("Pokemon", "BattleSide@ get_BattleSide() const property",
|
||||
asFUNCTION(GetBattleSideWrapper), asCALL_CDECL_OBJFIRST);
|
||||
|
|
Loading…
Reference in New Issue