diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-03-03 15:41:03 -0600 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-03-03 15:41:03 -0600 |
commit | b8b1efc008e5ca2c455b8ab225b5d005449de851 (patch) | |
tree | 4f9a65ccf18a8b38bbe7144b3de34deed7e3dfb9 /src/bossFuzzyBear.cpp | |
parent | 5dece655469940b4752cb0dc81328c8171e2b5e7 (diff) | |
download | kamek-b8b1efc008e5ca2c455b8ab225b5d005449de851.tar.gz kamek-b8b1efc008e5ca2c455b8ab225b5d005449de851.zip |
Lots of boss fixes, working on thwomp - linking error
Diffstat (limited to '')
-rw-r--r-- | src/bossFuzzyBear.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bossFuzzyBear.cpp b/src/bossFuzzyBear.cpp index 97fc893..3fe4085 100644 --- a/src/bossFuzzyBear.cpp +++ b/src/bossFuzzyBear.cpp @@ -267,11 +267,11 @@ int daFuzzyBear_c::onCreate() { this->direction = 0; // Heading left. this->speed.x = 0; - this->LaunchSpeedShort = ((this->settings >> 20) && 0xF) * 10.0; - this->LaunchSpeedHigh = ((this->settings >> 24) && 0xF) * 10.0; + this->LaunchSpeedShort = ((this->settings >> 20) & 0xF) * 10.0; + this->LaunchSpeedHigh = ((this->settings >> 24) & 0xF) * 10.0; - this->AreaWidthRight = this->settings && 0xFF; - this->AreaWidthLeft = (this->settings >> 8) && 0xFF; + this->AreaWidthRight = this->settings & 0xFF; + this->AreaWidthLeft = (this->settings >> 8) & 0xFF; this->initialPos = this->pos; this->storeSpeed = 0; |