diff options
Diffstat (limited to '')
-rw-r--r-- | src/chestnut.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chestnut.cpp b/src/chestnut.cpp index def7041..10ff076 100644 --- a/src/chestnut.cpp +++ b/src/chestnut.cpp @@ -37,7 +37,7 @@ class daEnChestnut_c : public dEn_c { bool CreateIceActors(); u32 canBePowed(); - void powBlockActivated(bool isMPGP); + void powBlockActivated(bool isNotMPGP); USING_STATES(daEnChestnut_c); DECLARE_STATE(Idle); @@ -278,8 +278,8 @@ bool daEnChestnut_c::CreateIceActors() { u32 daEnChestnut_c::canBePowed() { return true; } -void daEnChestnut_c::powBlockActivated(bool isMPGP) { - if (isMPGP) +void daEnChestnut_c::powBlockActivated(bool isNotMPGP) { + if (!isNotMPGP) return; dStateBase_c *state = acState.getCurrentState(); |