summaryrefslogtreecommitdiff
path: root/src/Game/DLC/aoc2.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-03-27 02:21:15 +0100
committerLéo Lam <leo@leolam.fr>2021-03-27 02:34:08 +0100
commit35e02a9565e2be015224432877346fcb78b89a8b (patch)
tree4e5c88b713d2bb7c0ce91ab0b2f4bbc90c2d9fde /src/Game/DLC/aoc2.cpp
parentaa766a1977251cf3be30795a947af979ebd21bad (diff)
Simplify aoc2 initialiser lists
Diffstat (limited to 'src/Game/DLC/aoc2.cpp')
-rw-r--r--src/Game/DLC/aoc2.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Game/DLC/aoc2.cpp b/src/Game/DLC/aoc2.cpp
index 9bb3d9b9..cbf3efce 100644
--- a/src/Game/DLC/aoc2.cpp
+++ b/src/Game/DLC/aoc2.cpp
@@ -23,10 +23,8 @@ sead::FixedSafeString<64> sStr{""};
} // namespace
aoc2::aoc2()
- : mGdtResetSlot{sead::Delegate1<aoc2, ksys::gdt::Manager::ResetEvent*>(
- this, &aoc2::setHardModeEnabledFlag)},
- mGdtReinitSlot{
- sead::Delegate1<aoc2, ksys::gdt::Manager::ReinitEvent*>(this, &aoc2::initFlagHandles)} {
+ : mGdtResetSlot(this, &aoc2::setHardModeEnabledFlag),
+ mGdtReinitSlot(this, &aoc2::initFlagHandles) {
mMultipliers.fill(0.5);
setHardModeChange(HardModeChange::IsLastPlayHardMode, true);