From b5e70c50c39612ad480ec7f39be60c82f9c85c1c Mon Sep 17 00:00:00 2001 From: Treeki Date: Tue, 16 Apr 2013 18:44:08 +0200 Subject: rename the param of powBlockActivated() from isMPGP to isNotMPGP --- src/chestnut.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/chestnut.cpp') 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(); -- cgit v1.2.3