summaryrefslogtreecommitdiff
path: root/src/Game/Damage/dmgDamageManagerBase.cpp
diff options
context:
space:
mode:
authorAlexApps99 <alex.apps99@gmail.com>2021-07-26 21:58:51 +1200
committerAlexApps99 <alex.apps99@gmail.com>2021-07-26 23:05:19 +1200
commit42807160cfb33af9f3cf2fa6b0ba98f232208cdb (patch)
tree95b1b16a3f4cf7d0ab51e90b3d73e53f74ba7f2b /src/Game/Damage/dmgDamageManagerBase.cpp
parent88bcc9eec1481b47361dc717c83e4953e8929a2b (diff)
Add #ifdef declarations for NON_MATCHING code
Diffstat (limited to 'src/Game/Damage/dmgDamageManagerBase.cpp')
-rw-r--r--src/Game/Damage/dmgDamageManagerBase.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Game/Damage/dmgDamageManagerBase.cpp b/src/Game/Damage/dmgDamageManagerBase.cpp
index ce029d3e..2a798100 100644
--- a/src/Game/Damage/dmgDamageManagerBase.cpp
+++ b/src/Game/Damage/dmgDamageManagerBase.cpp
@@ -18,9 +18,11 @@ DamageManagerBase_UnknownBase1::DamageManagerBase_UnknownBase1(ksys::act::Actor*
// when writing the vtable and Actor.
// The original Compiler writes (0x8, 0x10) in one 'stp', and writes 0x0 and 0x18 individually with
// 'str'. The rest seems to fall out of sync due to that, but it's otherwise functionally the same.
-// NON_MATCHING: Incorrect order.
+// Incorrect order.
+#ifdef NON_MATCHING
DamageManagerBase::DamageManagerBase(ksys::act::Actor* actor)
: DamageManagerBase_UnknownBase1(actor) {}
+#endif
u32 DamageManagerBase::getDamage() {
u32 result;