diff options
author | Treeki <treeki@gmail.com> | 2013-04-16 18:44:08 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-04-16 18:44:08 +0200 |
commit | b5e70c50c39612ad480ec7f39be60c82f9c85c1c (patch) | |
tree | eeb22aec78afd640f56a11766b89329dae4ff92a /src/chestnut.cpp | |
parent | 869d0a60e670d8a3c40f789e4f56dd4caf5bad5e (diff) | |
download | kamek-b5e70c50c39612ad480ec7f39be60c82f9c85c1c.tar.gz kamek-b5e70c50c39612ad480ec7f39be60c82f9c85c1c.zip |
rename the param of powBlockActivated() from isMPGP to isNotMPGP
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(); |