summaryrefslogtreecommitdiff
path: root/src/bossFuzzyBear.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-03-03 15:41:03 -0600
committerColin Noga <Tempus@chronometry.ca>2012-03-03 15:41:03 -0600
commitb8b1efc008e5ca2c455b8ab225b5d005449de851 (patch)
tree4f9a65ccf18a8b38bbe7144b3de34deed7e3dfb9 /src/bossFuzzyBear.cpp
parent5dece655469940b4752cb0dc81328c8171e2b5e7 (diff)
downloadkamek-b8b1efc008e5ca2c455b8ab225b5d005449de851.tar.gz
kamek-b8b1efc008e5ca2c455b8ab225b5d005449de851.zip
Lots of boss fixes, working on thwomp - linking error
Diffstat (limited to '')
-rw-r--r--src/bossFuzzyBear.cpp8
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;